BRSHIFT Function


BRSHIFT Function

Returns the bitwise logical right shift of two arguments

Category: Bitwise Logical Operations

Syntax

BRSHIFT ( argument-1, argument-2 )

Arguments

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

Examples

SAS Statements

Results

x=brshift(01Cx,2);

 

put x=hex.;

x=00000007




SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 704

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net