3 * ====================================================
4 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
6 * Developed at SunSoft, a Sun Microsystems, Inc. business.
7 * Permission to use, copy, modify, and distribute this
8 * software is freely granted, provided that this notice
10 * ====================================================
15 * Return the logarithm of the Gamma function of x.
17 * Method: call gamma_r
21 #include "math_private.h"
28 return gamma_r(x,&signgam);