e_lgammal.c 610 B

12345678910111213141516171819202122232425
  1. /* @(#)e_lgamma.c 1.3 95/01/18 */
  2. /*
  3. * ====================================================
  4. * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
  5. *
  6. * Developed at SunSoft, 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. #include <sys/cdefs.h>
  13. //__FBSDID("$FreeBSD$");
  14. #include <openlibm_math.h>
  15. #include "math_private.h"
  16. extern int signgam;
  17. long double
  18. lgammal(long double x)
  19. {
  20. return lgammal_r(x,&signgam);
  21. }