Hex Editor - Binary File Editing Software for Windows
Download Hex Editor Neo Hide this button

<< Left Shift Operator

This operator performs a left shift of the first operand. The second operand specifies how many bits to shift.

Syntax:

exp1 << exp2

Usage:

7 << 1          // evaluates to 14
-3 << 3         // evaluates to -24

This operator is not applicable to floating-point values.