diff options
Diffstat (limited to 'lib/mlibc/options/ansi/musl-generic-math/lgammaf.c')
-rw-r--r-- | lib/mlibc/options/ansi/musl-generic-math/lgammaf.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/mlibc/options/ansi/musl-generic-math/lgammaf.c b/lib/mlibc/options/ansi/musl-generic-math/lgammaf.c new file mode 100644 index 0000000..badb6df --- /dev/null +++ b/lib/mlibc/options/ansi/musl-generic-math/lgammaf.c @@ -0,0 +1,9 @@ +#include <math.h> + +extern int __signgam; +float __lgammaf_r(float, int *); + +float lgammaf(float x) +{ + return __lgammaf_r(x, &__signgam); +} |