]> sourceware.org Git - glibc.git/commitdiff
Update.
authorAndreas Jaeger <aj@suse.de>
Wed, 11 Jul 2001 07:30:36 +0000 (07:30 +0000)
committerAndreas Jaeger <aj@suse.de>
Wed, 11 Jul 2001 07:30:36 +0000 (07:30 +0000)
2001-07-10  Stephen L Moshier  <moshier@mediaone.net>

* sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl):  Fix
          backwards conditional in test for x == 1.0.

ChangeLog
sysdeps/ieee754/ldbl-128/e_acosl.c

index f1ff26bf95541a7c3efa8f0bf854ae1262794785..5d6b64963e1f71d1c0cdf3b7299aa2d11c970476 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-10  Stephen L Moshier  <moshier@mediaone.net>
+
+       * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl):  Fix
+          backwards conditional in test for x == 1.0.
+
 2001-07-10  Andreas Jaeger  <aj@suse.de>
 
        * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
index 745456a3fe005de5efb124d2c08e65739241b19e..4fae6fcdf3dace85b757cc30ae90277590f7d357 100644 (file)
@@ -157,7 +157,7 @@ __ieee754_acosl (x)
       if (ix == 0x3fff0000
          && (u.parts32.w1 | u.parts32.w2 | u.parts32.w3) == 0)
        {                       /* |x| == 1 */
-         if (sign & 0x80000000)
+         if ((sign & 0x80000000) == 0)
            return 0.0;         /* acos(1) = 0  */
          else
            return (2.0 * pio2_hi) + (2.0 * pio2_lo);   /* acos(-1)= pi */
This page took 0.048346 seconds and 5 git commands to generate.