12 lines
261 B
SAS
12 lines
261 B
SAS
/* rotations are not available, but are easy to implement with the other bitwise operators */
|
|
data _null_;
|
|
a=105;
|
|
b=91;
|
|
c=bxor(a,b);
|
|
d=band(a,b);
|
|
e=bor(a,b);
|
|
f=bnot(a); /* on 32 bits */
|
|
g=blshift(a,1);
|
|
h=brshift(a,1);
|
|
put _all_;
|
|
run;
|