<< Prev        Next >>

ID : 638

<< Operator

Function

To perform a shift operation. Each bit is shifted to the left by the specified number.

Syntax

number1 << number2

Guaranteed entry

number1
Designate integer type data.
number2
Designate the shift number by positive integer type data.

Return value

Return the calculation result in data type designated in number1.

Description

Each bit is shifted to the left by the number of shifts (number2) designated in number1. This is arithmetic shifting.

Attention

-

Example

-

ID : 638

<< Prev        Next >>