e_gammaf.c revision 176451
174462Salfred/* e_gammaf.c -- float version of e_gamma.c.
274462Salfred * Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com.
374462Salfred */
474462Salfred
574462Salfred/*
674462Salfred * ====================================================
774462Salfred * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
874462Salfred *
974462Salfred * Developed at SunPro, a Sun Microsystems, Inc. business.
1074462Salfred * Permission to use, copy, modify, and distribute this
1174462Salfred * software is freely granted, provided that this notice
1274462Salfred * is preserved.
1374462Salfred * ====================================================
1474462Salfred */
1574462Salfred
1674462Salfred#include <sys/cdefs.h>
1774462Salfred__FBSDID("$FreeBSD: head/lib/msun/src/e_gammaf.c 176451 2008-02-22 02:30:36Z das $");
1874462Salfred
1974462Salfred/* __ieee754_gammaf(x)
2074462Salfred * Return the logarithm of the Gamma function of x.
2174462Salfred *
2274462Salfred * Method: call __ieee754_gammaf_r
2374462Salfred */
2474462Salfred
2574462Salfred#include "math.h"
2674462Salfred#include "math_private.h"
2774462Salfred
2874462Salfredextern int signgam;
2974462Salfred
3074462Salfredfloat
31108533Sschweikh__ieee754_gammaf(float x)
3274462Salfred{
3374462Salfred	return __ieee754_gammaf_r(x,&signgam);
3474462Salfred}
3574462Salfred