]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/w_tgammal_compat.c
Improve __ieee754_exp() performance by greater than 5x on sparc/x86.
[thirdparty/glibc.git] / math / w_tgammal_compat.c
index 306f672077ab03c30e09dfe0a148339ef6c40f22..3695b7fbb32f21b40df6fa81f9b30b925ca8fb4c 100644 (file)
@@ -22,7 +22,9 @@
 #include <math.h>
 #include <math_private.h>
 #include <math-svid-compat.h>
+#include <libm-alias-ldouble.h>
 
+#if LIBM_SVID_COMPAT
 long double
 __tgammal(long double x)
 {
@@ -43,4 +45,5 @@ __tgammal(long double x)
        }
        return local_signgam < 0 ? - y : y;
 }
-weak_alias (__tgammal, tgammal)
+libm_alias_ldouble (__tgamma, tgamma)
+#endif