56 DOUBLE PRECISION GAMMLN
57 DOUBLE PRECISION,
INTENT(IN) :: XX , DEUPI
62 DOUBLE PRECISION STP , X , XC , TMP , SER , AUX
63 DOUBLE PRECISION COF(6)
66 cof(1)= 76.180091730d0
67 cof(2)=-86.505320330d0
68 cof(3)= 24.014098220d0
69 cof(4)= -1.231739516d0
71 cof(6)= -0.000005364d0
81 tmp=(x+0.5d0)*log(tmp)-tmp
87 gammln=tmp+log(stp*ser)
89 aux=0.5d0*deupi*(1.d0-xx)
90 gammln=log(aux/sin(aux))-gammln
double precision function gammln(XX, DEUPI)