Chapter Contents

Previous

Next
BNOT

BNOT



Returns the bitwise logical NOT of an argument

Category: Bitwise Logical Operations


Syntax
Arguments
Examples

Syntax

BNOT(argument)

Arguments

argument
is numeric, nonnegative, and nonmissing.
Range: 0 to the largest 32-bit unsigned integer


Examples

SAS Statements Results
x=bnot(0F000000Fx);
put x=hex.;
 
x=0FFFFFF0


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.