]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/w_hypotl_compat.c
Improve __ieee754_exp() performance by greater than 5x on sparc/x86.
[thirdparty/glibc.git] / math / w_hypotl_compat.c
index c784fa2c64214aabeb41e78807d4d7c33b88a637..db5495103d625e7b266025998ee2c8437e50161f 100644 (file)
 
 #include <math.h>
 #include <math_private.h>
+#include <math-svid-compat.h>
+#include <libm-alias-ldouble.h>
 
 
+#if LIBM_SVID_COMPAT
 long double
 __hypotl(long double x, long double y)
 {
@@ -33,4 +36,5 @@ __hypotl(long double x, long double y)
 
        return z;
 }
-weak_alias (__hypotl, hypotl)
+libm_alias_ldouble (__hypot, hypot)
+#endif