Returns the logarithm to the base 2
Category: Mathematical
LOG2 ( argument )
argument
is numeric.
Range: must be positive.
SAS Statements
Results
x=log2(2.0);
1
x=log2(0.5);
-1