e_gammaf_r.c 975 B

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