libm: Sync with FreeBSD (gains 6 long double functions)
[dragonfly.git] / lib / libm / src / e_gamma_r.c
1
2 /* @(#)e_gamma_r.c 1.3 95/01/18 */
3 /* $FreeBSD: head/lib/msun/src/e_gamma_r.c 176451 2008-02-22 02:30:36Z das $ */
4 /*
5  * ====================================================
6  * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
7  *
8  * Developed at SunSoft, a Sun Microsystems, Inc. business.
9  * Permission to use, copy, modify, and distribute this
10  * software is freely granted, provided that this notice 
11  * is preserved.
12  * ====================================================
13  *
14  */
15
16 /* __ieee754_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 __ieee754_lgamma_r
21  */
22
23 #include "math.h"
24 #include "math_private.h"
25
26 double
27 __ieee754_gamma_r(double x, int *signgamp)
28 {
29         return __ieee754_lgamma_r(x,signgamp);
30 }