Author(s): K.S. Kölbig | Library: MATHLIB |
Submitter: | Submitted: 01.05.1990 |
Language: Fortran | Revised: 15.03.1993 |
Function subprograms CEXPIN and WEXPIN calculate the the exponential integral
for complex arguments z.
The double-precision version WEXPIN is available only on computers which support a COMPLEX*16 Fortran data type.
Structure:
FUNCTION subprograms
Use Entry Names : CEXPIN, WEXPIN
Files referenced : Unit 6
External References: MTLMTR, ABEND
Usage:
In any arithmetic expression,
CEXPIN(Z) or WEXPIN(Z) has the value ,
Method:
Padé approximants are used to compute E(z) = E(x + iy) in the following (partly overlapping) regions of the z-plane:
(i) | , | ||
(ii) | , | ||
(iii) | (x < - 12). |
Accuracy:
CEXPIN (except on CDC and Cray computers) has full single-precision accuracy. For most values of the argument Z, WEXPIN (and CEXPIN on CDC and Cray computers) has an accuracy of approximately two significant digits less than the machine precision.
Error handling:
Error C338.1: Numerical integration not successful (unlikely). The function value is set equal to zero, and a message is written on Unit 6, unless subroutine MTLSET (N002) has been called.
References: