This function evaluates the exponential function factored from first order, (EXP(X) – 1.0)/X.
EXPRL — Function value. (Output)
X — Argument for which the function value is desired. (Input)
Specific: The specific interface names are S_EXPRL, D_EXPRL, and C_EXPRL.
Double: The double precision function name is DEXPRL.
Complex: The complex name is CEXPRL.
The function EXPRL(X) evaluates (ex – 1)/x. It will overflow if ex overflows. For complex arguments, z, the argument z must not be so close to a multiple of 2 πi that substantial significance is lost due to cancellation. Also, the result must not overflow and |ℑz| must not be so large that the trigonometric functions are inaccurate.
In this example, EXPRL(0.184) is computed and printed.
99999 FORMAT (' EXPRL(', F6.3, ') = ', F6.3)
In this example, EXPRL(0.0076i) is computed and printed.
99999 FORMAT (' EXPRL((', F7.4, ',', F7.4, ')) = (', &
EXPRL(( 0.0000, 0.0076)) = ( 1.000, 0.004)
|
Visual Numerics, Inc. PHONE: 713.784.3131 FAX:713.781.9260 |