| Applying science to business management |
  
Left Shift
Format: x << y
Arguments: (int) x, y Any integers
Returns: (int) The value of x with all bits
shifted left y places
Description: This operator converts x from a
floating-point number to a 32-bit integer, shifts all bits y
places to the left, and then returns the result as a
floating-point number.
Examples: 2<<3 = 16 (00010
<< 3 = 10000)
3<<2 = 12 (00011
<< 2 = 01100)
See Also: Right Shift,
Zero-Fill Right Shift, Bitwise And, Bitwise Or, Bitwise Exclusive Or, Bitwise Not
|