2 DOUBLE PRECISION FUNCTION dcsevl (X, CS, N)
38 DOUBLE PRECISION b0, b1, b2, cs(*), onepl, twox, x,
d1mach
43 IF (first) onepl = 1.0d0 +
d1mach(4)
45 IF (n .LT. 1)
CALL xermsg (
'SLATEC',
'DCSEVL',
46 + .LE.
'NUMBER OF TERMS 0', 2, 2)
47 IF (n .GT. 1000)
CALL xermsg (
'SLATEC',
'DCSEVL',
48 + .GT.
'NUMBER OF TERMS 1000', 3, 2)
49 IF (abs(x) .GT. onepl)
CALL xermsg (
'SLATEC',
'DCSEVL',
50 +
'X OUTSIDE THE INTERVAL (-1,+1)', 1, 1)
59 b0 = twox*b1 - b2 + cs(ni)
double precision function d1mach(i)
double precision function dcsevl(X, CS, N)
subroutine xermsg(LIBRAR, SUBROU, MESSG, NERR, LEVEL)