xref: /freebsd/lib/msun/src/e_gamma_r.c (revision 22cf89c938886d14f5796fc49f9f020c23ea8eaf)
1 
2 /* @(#)e_gamma_r.c 1.3 95/01/18 */
3 /*
4  * ====================================================
5  * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
6  *
7  * Developed at SunSoft, a Sun Microsystems, Inc. business.
8  * Permission to use, copy, modify, and distribute this
9  * software is freely granted, provided that this notice
10  * is preserved.
11  * ====================================================
12  *
13  */
14 
15 #include <sys/cdefs.h>
16 /* gamma_r(x, signgamp)
17  * Reentrant version of the logarithm of the Gamma function
18  * with user provide pointer for the sign of Gamma(x).
19  *
20  * Method: See lgamma_r
21  */
22 
23 #include "math.h"
24 #include "math_private.h"
25 
26 double
27 gamma_r(double x, int *signgamp)
28 {
29 	return lgamma_r(x,signgamp);
30 }
31