BitSHRN

Description

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

Category

Mathematical functions

Syntax


BitSHRN(number, count) 

See also

BitSHLN

Parameters

Parameter
Description
number
32-bit signed integer to shift to the right
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 BitSHRN --->

<html>

<head>

<title>BitSHRN Example</title>

</head>



<body>

<H3>BitSHRN Example</H3>



Returns the number bitwise shifted without rotation

to the right by count bits.



<P>BitSHRN(1,1): <cfoutput>#BitSHRN(1,1)#</cfoutput>

<P>BitSHRN(255,7): <cfoutput>#BitSHRN(255,7)#</cfoutput>

<P>BitSHRN(-2147483548,1): <cfoutput>#BitSHRN(-2147483548,1)#

</cfoutput>



</body>

</html>    



Banner.Novgorod.Ru