2 DOUBLE PRECISION FUNCTION dgamr (X)
24 DOUBLE PRECISION x, alngx, sgngx,
dgamma
28 IF (x.LE.0.0d0 .AND. aint(x).EQ.x)
RETURN
32 IF (
abs(x).GT.10.0d0)
GO TO 10
38 10
CALL dlgams (x, alngx, sgngx)
41 dgamr = sgngx * exp(-alngx)
double precision function dgamma(X)
double precision function dgamr(X)
subroutine dlgams(X, DLGAM, SGNGAM)