HP 3000 Manuals

EXP (or EXP') [ Compiler Library/XL Reference Manual ] MPE/iX 5.0 Documentation


Compiler Library/XL Reference Manual

EXP (or EXP') 

EXP calculates ex , where x is a real number.

Declaration 

        FUNCTION EXP(VAR x:REAL):REAL; EXTERNAL;

Accuracy 

[]
Attributes Parameter: A representable real number in the range [-87.3366, 88.7228]. See Chapter 1 for details on the internal representation of real numbers. Result: A representable positive real number. HP FORTRAN 77/XL: Intrinsic function: Y=EXP(X). Error: If the argument is a NaN, there are two cases. If the INVALID trap is enabled, the message "EXP(X): X=NaN" occurs. Otherwise, the INVALID flag is set. In either case, a quiet NaN is returned. If the argument is >= 88.722839, the message "EXP(X) OVERFLOW" occurs and the result is infinity. If the argument is <= -87.336548, the message "EXP(X) UNDERFLOW" occurs and the result is set to zero. Special Values exp (+Infinity) = +Infinity exp (-Infinity) = 0


MPE/iX 5.0 Documentation