]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/w_lgammal_main.c
Disable use of -fsignaling-nans if compiler does not support it
[thirdparty/glibc.git] / math / w_lgammal_main.c
index c3c41f6fff4f91910d1591c47150f523b73333df..83e7383d7da78c0567fa767c39c636fd7d1a2f8e 100644 (file)
@@ -1,6 +1,4 @@
 /* w_lgammal.c -- long double version of w_lgamma.c.
- * Conversion to long double by Ulrich Drepper,
- * Cygnus Support, drepper@cygnus.com.
  */
 
 /*
@@ -22,6 +20,8 @@
 
 #include <math.h>
 #include <math_private.h>
+#include <math-svid-compat.h>
+#include <libm-alias-ldouble.h>
 
 #include <lgamma-compat.h>
 
@@ -33,7 +33,7 @@ LGFUNC (__lgammal) (long double x)
        if(__builtin_expect(!isfinite(y), 0)
           && isfinite(x) && _LIB_VERSION != _IEEE_)
                return __kernel_standard_l(x, x,
-                                          __floorl(x)==x&&x<=0.0L
+                                          floorl(x)==x&&x<=0.0L
                                           ? 215 /* lgamma pole */
                                           : 214); /* lgamma overflow */
 
@@ -43,6 +43,7 @@ LGFUNC (__lgammal) (long double x)
 compat_symbol (libm, __lgammal_compat, lgammal, LGAMMA_OLD_VER);
 # else
 versioned_symbol (libm, __lgammal, lgammal, LGAMMA_NEW_VER);
+libm_alias_ldouble_other (__lgamma, lgamma)
 # endif
 # if GAMMA_ALIAS
 strong_alias (LGFUNC (__lgammal), __gammal)