e_gamma_r.c 851 B

123456789101112131415161718192021222324252627282930313233
  1. /* @(#)e_gamma_r.c 5.1 93/09/24 */
  2. /*
  3. * ====================================================
  4. * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
  5. *
  6. * Developed at SunPro, a Sun Microsystems, Inc. business.
  7. * Permission to use, copy, modify, and distribute this
  8. * software is freely granted, provided that this notice
  9. * is preserved.
  10. * ====================================================
  11. *
  12. */
  13. /* __ieee754_gamma_r(x, signgamp)
  14. * Reentrant version of the logarithm of the Gamma function
  15. * with user provide pointer for the sign of Gamma(x).
  16. *
  17. * Method: See __ieee754_lgamma_r
  18. */
  19. #include "math_private.h"
  20. #ifdef __STDC__
  21. //__private_extern__
  22. double __ieee754_gamma_r(double x, int *signgamp)
  23. #else
  24. double __ieee754_gamma_r(x,signgamp)
  25. double x; int *signgamp;
  26. #endif
  27. {
  28. return __ieee754_lgamma_r(x,signgamp);
  29. }