5 const static double coefficients[6] = {76.18009172947146,
12 double temp = z + 5.5;
13 temp -= (z + 0.5) *
log(temp);
15 double series = 1.000000000190015;
16 for (
int term = 0; term < 6; term++)
17 series += coefficients[term] / ++y;
18 return -temp +
log(2.5066282746310005 * series / z);
static std::vector< std::string > checklist log