4
C***PURPOSE Compute the logarithmic integral.
5
C***LIBRARY SLATEC (FNLIB)
7
C***TYPE SINGLE PRECISION (ALI-S, DLI-D)
8
C***KEYWORDS FNLIB, LOGARITHMIC INTEGRAL, SPECIAL FUNCTIONS
9
C***AUTHOR Fullerton, W., (LANL)
12
C ALI(X) computes the logarithmic integral; i.e., the
13
C integral from 0.0 to X of (1.0/ln(t))dt.
16
C***ROUTINES CALLED EI, XERMSG
17
C***REVISION HISTORY (YYMMDD)
19
C 890531 Changed all specific intrinsics to generic. (WRB)
20
C 890531 REVISION DATE from Version 3.2
21
C 891214 Prologue converted to Version 4.0 format. (BAB)
22
C 900315 CALLs to XERROR changed to CALLs to XERMSG. (THJ)
23
C 900326 Removed duplicate information from DESCRIPTION section.
26
C***FIRST EXECUTABLE STATEMENT ALI
27
IF (X .LE. 0.0) CALL XERMSG ('SLATEC', 'ALI',
28
+ 'LOG INTEGRAL UNDEFINED FOR X LE 0', 1, 2)
29
IF (X .EQ. 1.0) CALL XERMSG ('SLATEC', 'ALI',
30
+ 'LOG INTEGRAL UNDEFINED FOR X = 1', 2, 2)