e_gammaf_r.c revision 176451
1132332Smarcel/* e_gammaf_r.c -- float version of e_gamma_r.c.
2132332Smarcel * Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com.
3132332Smarcel */
4132332Smarcel
5132332Smarcel/*
6132332Smarcel * ====================================================
7132332Smarcel * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
8132332Smarcel *
9132332Smarcel * Developed at SunPro, a Sun Microsystems, Inc. business.
10132332Smarcel * Permission to use, copy, modify, and distribute this
11132332Smarcel * software is freely granted, provided that this notice
12132332Smarcel * is preserved.
13132332Smarcel * ====================================================
14132332Smarcel */
15132332Smarcel
16132332Smarcel#include <sys/cdefs.h>
17132332Smarcel__FBSDID("$FreeBSD: head/lib/msun/src/e_gammaf_r.c 176451 2008-02-22 02:30:36Z das $");
18132332Smarcel
19132332Smarcel/* __ieee754_gammaf_r(x, signgamp)
20132332Smarcel * Reentrant version of the logarithm of the Gamma function
21132332Smarcel * with user provide pointer for the sign of Gamma(x).
22132332Smarcel *
23132332Smarcel * Method: See __ieee754_lgammaf_r
24132332Smarcel */
25132332Smarcel
26132332Smarcel#include "math.h"
27132332Smarcel#include "math_private.h"
28132332Smarcel
29132332Smarcelfloat
30132332Smarcel__ieee754_gammaf_r(float x, int *signgamp)
31132332Smarcel{
32132332Smarcel	return __ieee754_lgammaf_r(x,signgamp);
33132332Smarcel}
34132332Smarcel