Difference between revisions of "Bit.Shl"

From OpenEUO
Jump to: navigation, search
(Created page with " BitShl(n1,n2) Returns the result of bitwise shifting n1 to the left n2 bits.")
 
Line 1: Line 1:
 
  BitShl(n1,n2)
 
  BitShl(n1,n2)
  
Returns the result of bitwise shifting n1 to the left n2 bits.
+
Returns the result of bitwise shifting n1 to the left n2 bits.  Since numbers are stored in double format (a floating point format), don't use this as a shortcut for multiplying by a power of two.

Revision as of 20:17, 7 October 2010

BitShl(n1,n2)

Returns the result of bitwise shifting n1 to the left n2 bits. Since numbers are stored in double format (a floating point format), don't use this as a shortcut for multiplying by a power of two.