diff options
Diffstat (limited to 'sysdeps/libm-ieee754')
-rw-r--r-- | sysdeps/libm-ieee754/w_cabs.c | 26 | ||||
-rw-r--r-- | sysdeps/libm-ieee754/w_cabsf.c | 17 | ||||
-rw-r--r-- | sysdeps/libm-ieee754/w_cabsl.c | 18 |
3 files changed, 0 insertions, 61 deletions
diff --git a/sysdeps/libm-ieee754/w_cabs.c b/sysdeps/libm-ieee754/w_cabs.c deleted file mode 100644 index bf62f22be3..0000000000 --- a/sysdeps/libm-ieee754/w_cabs.c +++ /dev/null @@ -1,26 +0,0 @@ -/* - * cabs() wrapper for hypot(). - * - * Written by J.T. Conklin, <jtc@wimsey.com> - * Placed into the Public Domain, 1994. - */ - -#include <math.h> - -double -__cabs(z) - struct __cabs_complex z; -{ - return __hypot(z.x, z.y); -} -weak_alias (__cabs, cabs) - -#ifdef NO_LONG_DOUBLE -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_cabsf.c b/sysdeps/libm-ieee754/w_cabsf.c deleted file mode 100644 index 20ff5b7744..0000000000 --- a/sysdeps/libm-ieee754/w_cabsf.c +++ /dev/null @@ -1,17 +0,0 @@ -/* - * cabsf() wrapper for hypotf(). - * - * Written by J.T. Conklin, <jtc@wimsey.com> - * Placed into the Public Domain, 1994. - */ - -#include "math.h" -#include "math_private.h" - -float -__cabsf(z) - struct __cabs_complexf z; -{ - return __hypotf(z.x, z.y); -} -weak_alias (__cabsf, cabsf) diff --git a/sysdeps/libm-ieee754/w_cabsl.c b/sysdeps/libm-ieee754/w_cabsl.c deleted file mode 100644 index 21ef860a95..0000000000 --- a/sysdeps/libm-ieee754/w_cabsl.c +++ /dev/null @@ -1,18 +0,0 @@ -/* - * cabsl() wrapper for hypotl(). - * - * Written by J.T. Conklin, <jtc@wimsey.com> - * Conversion to long double by Ulrich Drepper, - * Cygnus Support, drepper@cygnus.com. - * Placed into the Public Domain, 1994. - */ - -#include <math.h> - -long double -__cabsl(z) - struct __cabs_complexl z; -{ - return __hypotl(z.x, z.y); -} -weak_alias (__cabsl, cabsl) |