1 2 /* 3 * ==================================================== 4 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 5 * 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 9 * is preserved. 10 * ==================================================== 11 * 12 */ 13 14 #include <sys/cdefs.h> 15 /* gamma_r(x, signgamp) 16 * Reentrant version of the logarithm of the Gamma function 17 * with user provide pointer for the sign of Gamma(x). 18 * 19 * Method: See lgamma_r 20 */ 21 22 #include "math.h" 23 #include "math_private.h" 24 25 double 26 gamma_r(double x, int *signgamp) 27 { 28 return lgamma_r(x,signgamp); 29 } 30