Returns the bitwise logical right shift of two arguments
Category: Bitwise Logical Operations
BRSHIFT ( argument-1, argument-2 )
argument-1
is numeric, nonnegative, and nonmissing.
Range: 0 to the largest 32-bit unsigned integer
argument-2
is numeric, nonnegative, and nonmissing.
Range: 0 to 31, inclusive
SAS Statements | Results |
---|---|
x=brshift(01Cx,2); | |
put x=hex.; | x=00000007 |