about summary refs log tree commit diff
path: root/sysdeps/powerpc/power5+/fpu/s_modf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/power5+/fpu/s_modf.c')
-rw-r--r--sysdeps/powerpc/power5+/fpu/s_modf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/powerpc/power5+/fpu/s_modf.c b/sysdeps/powerpc/power5+/fpu/s_modf.c
index 20c828c778..b8ff8dbdb3 100644
--- a/sysdeps/powerpc/power5+/fpu/s_modf.c
+++ b/sysdeps/powerpc/power5+/fpu/s_modf.c
@@ -26,7 +26,7 @@ __modf (double x, double *iptr)
   if (__builtin_isinf (x))
     {
       *iptr = x;
-      return __copysign (0.0, x);
+      return copysign (0.0, x);
     }
   else if (__builtin_isnan (x))
     {
@@ -37,12 +37,12 @@ __modf (double x, double *iptr)
   if (x >= 0.0)
     {
       *iptr = floor (x);
-      return __copysign (x - *iptr, x);
+      return copysign (x - *iptr, x);
     }
   else
     {
       *iptr = ceil (x);
-      return __copysign (x - *iptr, x);
+      return copysign (x - *iptr, x);
     }
 }
 libm_alias_double (__modf, modf)