Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-06-23 | Fix csqrt spurious underflows (bug 18371). | Joseph Myers | |
The csqrt implementations in glibc can cause spurious underflows in some cases as a side-effect of the scaling for large arguments (when underflow is correct for the square root of the argument that was scaled down to avoid overflow, but not for the original argument). This patch arranges to avoid the underflowing intermediate computation (eliminating a multiplication in 0.5 in the problem cases where a subsequent scaling by 2 would follow). Tested for x86_64 and x86 and ulps updated accordingly (only needed for x86). [BZ #18371] * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where intermediate but not final result might underflow. * math/s_csqrtf.c (__csqrtf): Likewise. * math/s_csqrtl.c (__csqrtl): Likewise. * math/auto-libm-test-in: Add more tests of csqrt. * math/auto-libm-test-out: Regenerated. * sysdeps/i386/fpu/libm-test-ulps: Update. | |||
2015-01-02 | Update copyright dates with scripts/update-copyrights. | Joseph Myers | |
2014-02-10 | Use glibc_likely instead __builtin_expect. | Ondřej Bílka | |
2014-01-01 | Update copyright notices with scripts/update-copyrights | Allan McRae | |
2013-01-02 | Update copyright notices with scripts/update-copyrights. | Joseph Myers | |
2012-07-05 | Fix csqrt underflow (bugs 14157, 14331). | Joseph Myers | |
2012-03-14 | Fix csqrt overflow/underflow (bug 13841). | Joseph Myers | |
2012-02-09 | Replace FSF snail mail address with URLs. | Paul Eggert | |
2011-10-22 | Add branch predictions to complex math code | Ulrich Drepper | |
2011-10-08 | Use private math_private.h in files in math/ | Ulrich Drepper | |
2005-12-14 | Moved to csu/errno-loc.c. | Ulrich Drepper | |
2004-12-22 | (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. | Ulrich Drepper | |
2007-07-12 | 2.5-18.1 | Jakub Jelinek | |