]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/msun/src/e_gamma_r.c
libarchive: merge from vendor branch
[FreeBSD/FreeBSD.git] / lib / msun / src / e_gamma_r.c
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 /* 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). 
17  *
18  * Method: See lgamma_r
19  */
20
21 #include "math.h"
22 #include "math_private.h"
23
24 double
25 gamma_r(double x, int *signgamp)
26 {
27         return lgamma_r(x,signgamp);
28 }