Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

LOG2

LOG2 returns a real floating-point value that is an approximation of the binary logarithm (the logarithm to the base 2) of x. It has the base and precision of x.

Read syntax diagramSkip visual syntax diagram>>-LOG2(x)-----------------------------------------------------><
 
x
Real expression. The value of x must be greater than zero.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)