Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix csqrt spurious underflows (bug 18371). | Joseph Myers | 2015-06-23 | 1 | -2/+18 |
| | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Update copyright dates with scripts/update-copyrights. | Joseph Myers | 2015-01-02 | 1 | -1/+1 |
| | |||||
* | Use glibc_likely instead __builtin_expect. | Ondřej Bílka | 2014-02-10 | 1 | -3/+3 |
| | |||||
* | Update copyright notices with scripts/update-copyrights | Allan McRae | 2014-01-01 | 1 | -1/+1 |
| | |||||
* | Update copyright notices with scripts/update-copyrights. | Joseph Myers | 2013-01-02 | 1 | -1/+1 |
| | |||||
* | Fix csqrt underflow (bugs 14157, 14331). | Joseph Myers | 2012-07-05 | 1 | -7/+19 |
| | |||||
* | Fix csqrt overflow/underflow (bug 13841). | Joseph Myers | 2012-03-14 | 1 | -2/+24 |
| | |||||
* | Replace FSF snail mail address with URLs. | Paul Eggert | 2012-02-09 | 1 | -3/+2 |
| | |||||
* | Add branch predictions to complex math code | Ulrich Drepper | 2011-10-22 | 1 | -5/+4 |
| | |||||
* | Use private math_private.h in files in math/ | Ulrich Drepper | 2011-10-08 | 1 | -1/+1 |
| | |||||
* | Moved to csu/errno-loc.c. | Ulrich Drepper | 2005-12-14 | 1 | -0/+114 |
| | |||||
* | (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. | Ulrich Drepper | 2004-12-22 | 1 | -114/+0 |
| | |||||
* | 2.5-18.1 | Jakub Jelinek | 2007-07-12 | 1 | -0/+114 |