From 92f2897953ab6cd9e073718cfe36611700e174c6 Mon Sep 17 00:00:00 2001 From: Wilco Dijkstra Date: Wed, 22 Apr 2015 12:07:56 +0000 Subject: Use __copysign rather than copysign. --- ChangeLog | 8 ++++++++ math/k_casinh.c | 2 +- sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c | 2 +- sysdeps/ieee754/ldbl-opt/nldbl-copysign.c | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 26dcfc715c..2c01eac57f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2015-04-22 Wilco Dijkstra + + * math/k_casinh.c (__kernel_casinh): Use __copysign. + * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c + (__nearbyint): Likewise. + * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c + (copysignl): Likewise. + 2015-04-21 Arjun Shankar [BZ #18287] diff --git a/math/k_casinh.c b/math/k_casinh.c index de04e84004..cd089ab8f2 100644 --- a/math/k_casinh.c +++ b/math/k_casinh.c @@ -199,7 +199,7 @@ __kernel_casinh (__complex__ double x, int adj) if (adj) { double t = __real__ y; - __real__ y = copysign (__imag__ y, __imag__ x); + __real__ y = __copysign (__imag__ y, __imag__ x); __imag__ y = t; } diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c index a58a6202ef..8293819981 100644 --- a/sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c +++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c @@ -46,7 +46,7 @@ __nearbyint(double x) double t = w-TWO52[sx]; math_opt_barrier(t); libc_fesetenv (&env); - return copysign(t, x); + return __copysign (t, x); } } else { if(j0==0x400) return x+x; /* inf or NaN */ diff --git a/sysdeps/ieee754/ldbl-opt/nldbl-copysign.c b/sysdeps/ieee754/ldbl-opt/nldbl-copysign.c index ef23badecc..045f00dda8 100644 --- a/sysdeps/ieee754/ldbl-opt/nldbl-copysign.c +++ b/sysdeps/ieee754/ldbl-opt/nldbl-copysign.c @@ -4,5 +4,5 @@ double attribute_hidden copysignl (double x, double y) { - return copysign (x, y); + return __copysign (x, y); } -- cgit 1.4.1