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 * ====================================================
14 /* gamma_r(x, signgamp)
15 * Reentrant version of the logarithm of the Gamma function
16 * with user provide pointer for the sign of Gamma(x).
18 * Method: See lgamma_r
22 #include "math_private.h"
25 gamma_r(double x, int *signgamp)
27 return lgamma_r(x,signgamp);