nsz | 1b229a2 | 2012-03-27 22:12:20 +0200 | [diff] [blame] | 1 | #include <math.h> |
Rich Felker | b69f695 | 2012-03-13 01:17:53 -0400 | [diff] [blame] | 2 | |
Rich Felker | 8c071f8 | 2012-03-16 21:20:53 -0400 | [diff] [blame] | 3 | extern int __signgam; |
Rich Felker | de7db6e | 2012-03-16 21:16:32 -0400 | [diff] [blame] | 4 | float __lgammaf_r(float, int *); |
5 | |||||
Rich Felker | b69f695 | 2012-03-13 01:17:53 -0400 | [diff] [blame] | 6 | float lgammaf(float x) |
7 | { | ||||
Rich Felker | 8c071f8 | 2012-03-16 21:20:53 -0400 | [diff] [blame] | 8 | return __lgammaf_r(x, &__signgam); |
Rich Felker | b69f695 | 2012-03-13 01:17:53 -0400 | [diff] [blame] | 9 | } |