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.
Related Terms
Operators, & Operator, * Operator, + Operator, - Operator, / Operator, ^ Operator, = (Assignment) Operator, And Operator, Comparative Operators, Mod operator, Not Operator, Or Operator, Xor Operator, \ Operator, >> Operator
Attention
-
Example
-
ID : 638