diff options
Diffstat (limited to 'sysdeps/libm-ieee754')
-rw-r--r-- | sysdeps/libm-ieee754/w_cabs.c | 10 | ||||
-rw-r--r-- | sysdeps/libm-ieee754/w_log10.c | 2 |
2 files changed, 9 insertions, 3 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 diff --git a/sysdeps/libm-ieee754/w_log10.c b/sysdeps/libm-ieee754/w_log10.c index fc35607644..8a0a70bdf7 100644 --- a/sysdeps/libm-ieee754/w_log10.c +++ b/sysdeps/libm-ieee754/w_log10.c @@ -47,5 +47,5 @@ static char rcsid[] = "$NetBSD: w_log10.c,v 1.6 1995/05/10 20:49:35 jtc Exp $"; weak_alias (__log10, log10) #ifdef NO_LONG_DOUBLE strong_alias (__log10, __log10l) -weak_alias (__log10, log10) +weak_alias (__log10, log10l) #endif |