diff options
author | Andreas Schwab <schwab@redhat.com> | 2011-12-29 19:38:42 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2011-12-29 19:38:42 -0500 |
commit | be802bc67041210b441ecdd9ebdd33e4e8c177cc (patch) | |
tree | 7cc02ae11716ff56adca2512bdee7502045c51a3 | |
parent | 994f2519e9c8ad7fd368aa97ff5d219ac0597de9 (diff) | |
download | glibc-be802bc67041210b441ecdd9ebdd33e4e8c177cc.zip glibc-be802bc67041210b441ecdd9ebdd33e4e8c177cc.tar.gz glibc-be802bc67041210b441ecdd9ebdd33e4e8c177cc.tar.bz2 |
Fix a wrong constant in powerpc hypot implementation
Backport of commit #850fb039cec802072f70ed9763927881bbbf639c
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/e_hypot.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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 diff --git a/sysdeps/powerpc/fpu/e_hypot.c b/sysdeps/powerpc/fpu/e_hypot.c index a8d67d8..3731c58 100644 --- a/sysdeps/powerpc/fpu/e_hypot.c +++ b/sysdeps/powerpc/fpu/e_hypot.c @@ -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) |