e_gammaf_r.c revision 2116
12116Sjkh/* e_gammaf_r.c -- float version of e_gamma_r.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 112116Sjkh * software is freely granted, provided that this notice 122116Sjkh * is preserved. 132116Sjkh * ==================================================== 142116Sjkh */ 152116Sjkh 162116Sjkh#ifndef lint 172116Sjkhstatic char rcsid[] = "$Id: e_gammaf_r.c,v 1.1 1994/08/10 20:30:54 jtc Exp $"; 182116Sjkh#endif 192116Sjkh 202116Sjkh/* __ieee754_gammaf_r(x, signgamp) 212116Sjkh * Reentrant version of the logarithm of the Gamma function 222116Sjkh * with user provide pointer for the sign of Gamma(x). 232116Sjkh * 242116Sjkh * Method: See __ieee754_lgammaf_r 252116Sjkh */ 262116Sjkh 272116Sjkh#include "math.h" 282116Sjkh#include "math_private.h" 292116Sjkh 302116Sjkh#ifdef __STDC__ 312116Sjkh float __ieee754_gammaf_r(float x, int *signgamp) 322116Sjkh#else 332116Sjkh float __ieee754_gammaf_r(x,signgamp) 342116Sjkh float x; int *signgamp; 352116Sjkh#endif 362116Sjkh{ 372116Sjkh return __ieee754_lgammaf_r(x,signgamp); 382116Sjkh} 39