e_gammaf.c revision 176451
12116Sjkh/* e_gammaf.c -- float version of e_gamma.c. 22116Sjkh * Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. 32116Sjkh */ 42116Sjkh 52116Sjkh/* 62116Sjkh * ==================================================== 72116Sjkh * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 82116Sjkh * 92116Sjkh * Developed at SunPro, a Sun Microsystems, Inc. business. 102116Sjkh * Permission to use, copy, modify, and distribute this 118870Srgrimes * software is freely granted, provided that this notice 122116Sjkh * is preserved. 132116Sjkh * ==================================================== 142116Sjkh */ 152116Sjkh 16176451Sdas#include <sys/cdefs.h> 17176451Sdas__FBSDID("$FreeBSD: head/lib/msun/src/e_gammaf.c 176451 2008-02-22 02:30:36Z das $"); 182116Sjkh 192116Sjkh/* __ieee754_gammaf(x) 202116Sjkh * Return the logarithm of the Gamma function of x. 212116Sjkh * 222116Sjkh * Method: call __ieee754_gammaf_r 232116Sjkh */ 242116Sjkh 252116Sjkh#include "math.h" 262116Sjkh#include "math_private.h" 272116Sjkh 282116Sjkhextern int signgam; 292116Sjkh 3097407Salfredfloat 3197407Salfred__ieee754_gammaf(float x) 322116Sjkh{ 332116Sjkh return __ieee754_gammaf_r(x,&signgam); 342116Sjkh} 35