CEXP (or CEXP') [ Compiler Library/XL Reference Manual ] MPE/iX 5.0 Documentation
Compiler Library/XL Reference Manual
CEXP (or CEXP')
CEXP calculates ex , where x is a complex number.
Declaration
Complex numbers in HP FORTRAN 77/XL programs are represented as an
ordered pair of real numbers: one for the real part a and one for the
imaginary part b. Thus, complex numbers occupy eight bytes.
TYPE complex=RECORD
realpart:REAL;
imagpart:REAL;
END;
FUNCTION CEXP(VAR x:complex):complex; EXTERNAL;
Accuracy
Depends on the accuracy of SIN, COS, and EXP.
Attributes
Parameter: Any complex number representable in two
representable real numbers: one for the real
part a and one for the imaginary part b; a must
be in the range [-87.3366, 88.7228]. See
Chapter 1 for details on the internal
representation of real numbers.
Result: A complex number.
HP FORTRAN 77/XL: Intrinsic function: Y=CEXP(X).
Error: See the SIN, COS, and EXP error descriptions.
MPE/iX 5.0 Documentation