Merge from vendor branch LIBPCAP:
[dragonfly.git] / lib / msun / src / e_gammaf_r.c
1 /* e_gammaf_r.c -- float version of e_gamma_r.c.
2  * Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com.
3  *
4  * $FreeBSD: src/lib/msun/src/e_gammaf_r.c,v 1.5 1999/08/28 00:06:31 peter Exp $
5  * $DragonFly: src/lib/msun/src/Attic/e_gammaf_r.c,v 1.2 2003/06/17 04:26:52 dillon Exp $
6  */
7
8 /*
9  * ====================================================
10  * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
11  *
12  * Developed at SunPro, a Sun Microsystems, Inc. business.
13  * Permission to use, copy, modify, and distribute this
14  * software is freely granted, provided that this notice
15  * is preserved.
16  * ====================================================
17  */
18
19 /* __ieee754_gammaf_r(x, signgamp)
20  * Reentrant version of the logarithm of the Gamma function
21  * with user provide pointer for the sign of Gamma(x).
22  *
23  * Method: See __ieee754_lgammaf_r
24  */
25
26 #include "math.h"
27 #include "math_private.h"
28
29 #ifdef __STDC__
30         float __ieee754_gammaf_r(float x, int *signgamp)
31 #else
32         float __ieee754_gammaf_r(x,signgamp)
33         float x; int *signgamp;
34 #endif
35 {
36         return __ieee754_lgammaf_r(x,signgamp);
37 }