D9LGMC(3)

SYNOPSIS
DOUBLE PRECISION FUNCTION D9LGMC (X)

NAME
d9lgmc - Compute the log Gamma correction factor so that LOG(DGAMMA(X)) = LOG(SQRT(2*PI)) + (X-5.)*LOG(X) - X + D9LGMC(X).

LIBRARY
SLATEC (FNLIB)

CATEGORY
C7E

TYPE
DOUBLE PRECISION (R9LGMC-S, D9LGMC-D, C9LGMC-C)

KEYWORDS
COMPLETE GAMMA FUNCTION, CORRECTION TERM, FNLIB, LOG GAMMA, LOGARITHM, SPECIAL FUNCTIONS

AUTHOR
Fullerton, W., (LANL)

DESCRIPTION
Compute the log gamma correction factor for X .GE. 10. so that LOG (DGAMMA(X)) = LOG(SQRT(2*PI)) + (X-.5)*LOG(X) - X + D9lGMC(X) Series for ALGM on the interval 0. to 1.00000E-02 with weighted error 1.28E-31 log weighted error 30.89 significant figures required 29.81 decimal places required 31.48

REFERENCES
(NONE)

ROUTINES CALLED
D1MACH, DCSEVL, INITDS, XERMSG

REVISION HISTORY (YYMMDD)
770601 DATE WRITTEN
890531 Changed all specific intrinsics to generic. (WRB)
890531 REVISION DATE from Version 3.2
891214 Prologue converted to Version 4.0 format. (BAB)
900315 CALLs to XERROR changed to CALLs to XERMSG. (THJ)
900720 Routine changed from user-callable to subsidiary. (WRB)