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. --- sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c | 2 +- sysdeps/ieee754/ldbl-opt/nldbl-copysign.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c index a58a620..8293819 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 ef23bad..045f00d 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 v1.1