summaryrefslogtreecommitdiff
path: root/math/w_sqrt_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_sqrt_compat.c')
-rw-r--r--math/w_sqrt_compat.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/math/w_sqrt_compat.c b/math/w_sqrt_compat.c
index 13402de76e..f35882086d 100644
--- a/math/w_sqrt_compat.c
+++ b/math/w_sqrt_compat.c
@@ -16,9 +16,14 @@
<https://www.gnu.org/licenses/>. */
#define NO_MATH_REDIRECT
+#define dsqrtl __hide_dsqrtl
+#define f32xsqrtf64 __hide_f32xsqrtf64
#include <math.h>
+#undef dsqrtl
+#undef f32xsqrtf64
#include <math_private.h>
#include <math-svid-compat.h>
+#include <math-narrow-alias.h>
#include <libm-alias-double.h>
@@ -33,4 +38,5 @@ __sqrt (double x)
return __ieee754_sqrt (x);
}
libm_alias_double (__sqrt, sqrt)
+libm_alias_double_narrow (__sqrt, sqrt)
#endif