BitSHLN

Description

Returns number bitwise shifted without rotation to the left by count bits.

Category

Mathematical functions

Syntax

BitSHLN(number, count) 

See also

BitSHRN

Parameters

Parameter
Description
number
32-bit signed integer to shift to the left
count
Integer; number of bits to shift the number

Usage

Bit functions operate on 32-bit signed integers, in the range -2147483648 to 2147483647.

Example

<!--- 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>