]> sourceware.org Git - glibc.git/commitdiff
Use __copysign rather than copysign.
authorWilco Dijkstra <wdijkstr@arm.com>
Wed, 22 Apr 2015 12:07:56 +0000 (12:07 +0000)
committerWilco Dijkstra <wdijkstr@arm.com>
Wed, 22 Apr 2015 12:07:56 +0000 (12:07 +0000)
ChangeLog
math/k_casinh.c
sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
sysdeps/ieee754/ldbl-opt/nldbl-copysign.c

index 26dcfc715c48928d88388d0fcd8929da6a272489..2c01eac57f3dc9c7ccbac8dcd3a8c06e73ab93d2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
+
+       * 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  <arjun.is@lostca.se>
 
        [BZ #18287]
index de04e84004012986a08ab6cc6f2683d89fb62e0f..cd089ab8f2d91ccccef71af22880aef79d25607c 100644 (file)
@@ -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;
        }
 
index a58a6202efc383a0db9bc5a37cb148b96ae58ee3..82938199817c454c7050ca28302450d0874fa8f4 100644 (file)
@@ -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 */
index ef23badeccca839274af5bcb202f61baf546babc..045f00dda88149ce1e799dee0a8e0d7affd8ad36 100644 (file)
@@ -4,5 +4,5 @@ double
 attribute_hidden
 copysignl (double x, double y)
 {
-  return copysign (x, y);
+  return __copysign (x, y);
 }
This page took 0.110926 seconds and 5 git commands to generate.