Name

BitSHRN

Synopsis

BitSHRN(number, count)

Bitwise shifts number to the right (without rotation) count bits where count is an integer between 0 and 31. Examples:

<CFOUTPUT>
BitSHRN(0,1): #BitSHRN(0,1)#<BR>
BitSHRN(90000,5): #BitSHRN(90000,5)#<BR>
BitSHRN(256,3): #BitSHRN(256,3)#<BR>
BitSHRN(128,1): #BitSHRN(128,1)#<BR>
BitSHRN(1024, 2): #BitSHRN(1024,2)#
</CFOUTPUT>

Get Programming ColdFusion now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.