Elliott Hughes | 7553185 | 2014-09-18 11:23:58 -0700 | [diff] [blame] | 1 | /* |
| 2 | * ==================================================== |
| 3 | * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. |
| 4 | * |
| 5 | * Developed at SunSoft, a Sun Microsystems, Inc. business. |
| 6 | * Permission to use, copy, modify, and distribute this |
| 7 | * software is freely granted, provided that this notice |
| 8 | * is preserved. |
| 9 | * ==================================================== |
| 10 | */ |
| 11 | |
Elliott Hughes | 7553185 | 2014-09-18 11:23:58 -0700 | [diff] [blame] | 12 | #include "math.h" |
| 13 | #include "math_private.h" |
| 14 | |
| 15 | extern int signgam; |
| 16 | |
| 17 | long double |
| 18 | lgammal(long double x) |
| 19 | { |
| 20 | return lgammal_r(x,&signgam); |
| 21 | } |