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

EXPONENT

EXPONENT returns a FIXED BINARY(31,0) value that is the exponent part of x.

Read syntax diagramSkip visual syntax diagram>>-EXPONENT(x)-------------------------------------------------><
 
x
Expression. x must be declared as REAL FLOAT.

EXPONENT(x) is not the "mathematical" exponent of x. If x = 0, EXPONENT(x) = 0. For other values of x, EXPONENT(x) is the unique number e such that:

Consequently, EXPONENT(1e0) equals 1 and not 0.


Terms of use | Feedback

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