Operators

<<

Supported By

Syntax

expression << expression

Each expression yields an integer.

Description

The << operator shifts a given value a specified number of bits to the left.

Notes

The expression x << y is equivalent to x*2^y when x and y are integers and the result is in the range of the integer data type.

In OpenXION, since the integer data type has arbitrary range, no bits will ever be lost, and the value will never change sign.

See Also

>>, >>>