1 |
/* $MidnightBSD$ */ |
2 |
/* e_gammaf_r.c -- float version of e_gamma_r.c. |
3 |
* Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. |
4 |
*/ |
5 |
|
6 |
/* |
7 |
* ==================================================== |
8 |
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. |
9 |
* |
10 |
* Developed at SunPro, a Sun Microsystems, Inc. business. |
11 |
* Permission to use, copy, modify, and distribute this |
12 |
* software is freely granted, provided that this notice |
13 |
* is preserved. |
14 |
* ==================================================== |
15 |
*/ |
16 |
|
17 |
#include <sys/cdefs.h> |
18 |
__FBSDID("$FreeBSD: stable/10/lib/msun/src/e_gammaf_r.c 176451 2008-02-22 02:30:36Z das $"); |
19 |
|
20 |
/* __ieee754_gammaf_r(x, signgamp) |
21 |
* Reentrant version of the logarithm of the Gamma function |
22 |
* with user provide pointer for the sign of Gamma(x). |
23 |
* |
24 |
* Method: See __ieee754_lgammaf_r |
25 |
*/ |
26 |
|
27 |
#include "math.h" |
28 |
#include "math_private.h" |
29 |
|
30 |
float |
31 |
__ieee754_gammaf_r(float x, int *signgamp) |
32 |
{ |
33 |
return __ieee754_lgammaf_r(x,signgamp); |
34 |
} |