]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/w_acosf_compat.c
Improve __ieee754_exp() performance by greater than 5x on sparc/x86.
[thirdparty/glibc.git] / math / w_acosf_compat.c
index f389da19babd13566b619b760067ecd3eadff873..1bdb60e177bb1dd183e6d8b25cd6e575c2cd023c 100644 (file)
 #include <fenv.h>
 #include <math.h>
 #include <math_private.h>
+#include <math-svid-compat.h>
+#include <libm-alias-float.h>
 
 
+#if LIBM_SVID_COMPAT
 /* wrapper acosf */
 float
 __acosf (float x)
@@ -35,4 +38,5 @@ __acosf (float x)
 
   return __ieee754_acosf (x);
 }
-weak_alias (__acosf, acosf)
+libm_alias_float (__acos, acos)
+#endif