about summary refs log tree commit diff
path: root/sysdeps/libm-ieee754/w_cabs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-ieee754/w_cabs.c')
-rw-r--r--sysdeps/libm-ieee754/w_cabs.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sysdeps/libm-ieee754/w_cabs.c b/sysdeps/libm-ieee754/w_cabs.c
index 6c67436c6a..bf62f22be3 100644
--- a/sysdeps/libm-ieee754/w_cabs.c
+++ b/sysdeps/libm-ieee754/w_cabs.c
@@ -14,7 +14,13 @@ __cabs(z)
 	return __hypot(z.x, z.y);
 }
 weak_alias (__cabs, cabs)
+
 #ifdef NO_LONG_DOUBLE
-strong_alias (__cabs, __cabsl)
-weak_alias (__cabs, cabsl)
+double
+__cabsl(z)
+	struct __cabs_complexl z;
+{
+	return __hypotl(z.x, z.y);
+}
+weak_alias (__cabsl, cabsl)
 #endif