aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2015-04-22 12:07:56 +0000
committerWilco Dijkstra <wdijkstr@arm.com>2015-04-22 12:07:56 +0000
commit92f2897953ab6cd9e073718cfe36611700e174c6 (patch)
treed108ed9bb344a6cc1f6803f6f91a534fdab67faa /sysdeps
parent2959eda9272a033863c271aff62095abd01bd4e3 (diff)
downloadglibc-92f2897953ab6cd9e073718cfe36611700e174c6.zip
glibc-92f2897953ab6cd9e073718cfe36611700e174c6.tar.gz
glibc-92f2897953ab6cd9e073718cfe36611700e174c6.tar.bz2
Use __copysign rather than copysign.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c2
-rw-r--r--sysdeps/ieee754/ldbl-opt/nldbl-copysign.c2
2 files changed, 2 insertions, 2 deletions
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);
}