]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix a wrong constant in powerpc hypot implementation
authorAndreas Schwab <schwab@redhat.com>
Fri, 30 Dec 2011 00:38:42 +0000 (19:38 -0500)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Fri, 30 Dec 2011 00:38:42 +0000 (19:38 -0500)
Backport of commit #850fb039cec802072f70ed9763927881bbbf639c

ChangeLog
sysdeps/powerpc/fpu/e_hypot.c

index e7bb0fc14cf2500a20c1ab5d410f8da363613b0f..ae5f924c4004cb7113e38febe5dc9358aa43ab2d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
+
+       [BZ #13472]
+       * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
+
 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
 
        * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
index a8d67d875e14906a271cd23be7394a9805ea4c21..3731c58a30fd63f3e86a85639c0383e16836cd17 100644 (file)
@@ -26,7 +26,7 @@ static const double two500  = 3.2733906078961419e+150;
 static const double two600  = 4.149515568880993e+180;
 static const double two1022 = 4.49423283715579e+307;
 static const double twoM500 = 3.054936363499605e-151;
-static const double twoM600 = 4.616489308892868e-128;
+static const double twoM600 = 2.4099198651028841e-181;
 static const double pdnum   = 2.225073858507201e-308;
 
 /* __ieee754_hypot(x,y)