Returns number bitwise shifted without rotation to the left by count bits.
BitSHLN(number, count)
Parameter |
Description |
---|---|
number |
32-bit signed integer to shift to the left |
count |
Integer; number of bits to shift the number |
Bit functions operate on 32-bit signed integers, in the range -2147483648 to 2147483647.
<!--- This example shows BitSHLN ---> <html> <head> <title>BitSHLN Example</title> </head> <body> <H3>BitSHLN Example</H3> Returns the number bitwise shifted without rotation to the left by count bits. <P>BitSHLN(1,1): <cfoutput>#BitSHLN(1,1)#</cfoutput> <P>BitSHLN(1,30): <cfoutput>#BitSHLN(1,30)#</cfoutput> <P>BitSHLN(1,31): <cfoutput>#BitSHLN(1,31)#</cfoutput> <P>BitSHLN(2,31): <cfoutput>#BitSHLN(2,31)#</cfoutput> </body> </html>