diff options
author | Roland McGrath <roland@gnu.org> | 2006-02-01 03:14:01 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2006-02-01 03:14:01 +0000 |
commit | 8400b18bfb630399e4b028cabe72ba55b580ef66 (patch) | |
tree | a8c8c9563007f8c8e54718ced8ff2776b2a9349c /sysdeps/alpha/fpu/s_copysign.c | |
parent | fea3f995bd004c0e31898eed82d5e15113d50e70 (diff) | |
download | glibc-8400b18bfb630399e4b028cabe72ba55b580ef66.tar.gz glibc-8400b18bfb630399e4b028cabe72ba55b580ef66.tar.xz glibc-8400b18bfb630399e4b028cabe72ba55b580ef66.zip |
* sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file. cvs/fedora-glibc-20060201T0846
* sysdeps/alpha/fpu/s_ceil.c: Include math_ldbl_opt.h, add compat_symbol if LONG_DOUBLE_COMPAT. * sysdeps/alpha/fpu/s_copysign.c: Likewise. * sysdeps/alpha/fpu/s_fabs.c: Likewise. * sysdeps/alpha/fpu/s_floor.c: Likewise. * sysdeps/alpha/fpu/s_rint.c: Likewise. * sysdeps/alpha/soft-fp/e_sqrtl.c: New file. * sysdeps/alpha/Implies: Add ieee754/ldbl-128. * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: New file. * sysdeps/unix/sysv/linux/alpha/Implies: Add ieee754/ldbl-64-128, ieee754/ldbl-opt. * sysdeps/alpha/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove. * sysdeps/unix/sysv/linux/alpha/nldbl-abi.h: New file. * sysdeps/unix/sysv/linux/alpha/Makefile [$(subdir) = math] (libm-routines): Add multc3, divtc3.
Diffstat (limited to 'sysdeps/alpha/fpu/s_copysign.c')
-rw-r--r-- | sysdeps/alpha/fpu/s_copysign.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sysdeps/alpha/fpu/s_copysign.c b/sysdeps/alpha/fpu/s_copysign.c index e86778e840..52c632ec4c 100644 --- a/sysdeps/alpha/fpu/s_copysign.c +++ b/sysdeps/alpha/fpu/s_copysign.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2000 Free Software Foundation, Inc. +/* Copyright (C) 2000, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Richard Henderson. @@ -18,6 +18,7 @@ 02111-1307 USA. */ #include <math.h> +#include <math_ldbl_opt.h> double __copysign (double x, double y) @@ -31,3 +32,10 @@ weak_alias (__copysign, copysign) strong_alias (__copysign, __copysignl) weak_alias (__copysign, copysignl) #endif +#ifdef IS_IN_libm +# if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0) +compat_symbol (libm, __copysign, copysignl, GLIBC_2_0); +# endif +#elif LONG_DOUBLE_COMPAT(libc, GLIBC_2_0) +compat_symbol (libc, __copysign, copysignl, GLIBC_2_0); +#endif |