MACROMEDIA COLFUSION MX 7-CFML Reference page 505

Cfml reference
Hide thumbs Also See for COLFUSION MX 7-CFML:
Table of Contents

Advertisement

BitSHRN
Description
Performs a bitwise shift-right, no-rotation operation.
Returns
A number, bitwise shifted, without rotation, to the right by count bits.
Category
Mathematical functions
Function syntax
BitSHRN(number, count)
See also
BitSHLN
Parameters
Parameter
number
count
Usage
Bit functions operate on 32-bit signed integers, in the range -2147483648 – 2147483647.
Example
<h3>BitSHRN Example</h3>
<p>Returns a 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>
Description
32-bit signed integer
Integer, in the range 0-31, inclusive. Number of bits to shift the number
BitSHRN
505

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colfusion mx 7 - installing and using coldfusion mx

Table of Contents