about summary refs log tree commit diff
path: root/math/s_csqrt.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix csqrt spurious underflows (bug 18371).Joseph Myers2015-06-231-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 Myers2015-01-021-1/+1
|
* Use glibc_likely instead __builtin_expect.Ondřej Bílka2014-02-101-3/+3
|
* Update copyright notices with scripts/update-copyrightsAllan McRae2014-01-011-1/+1
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-021-1/+1
|
* Fix csqrt underflow (bugs 14157, 14331).Joseph Myers2012-07-051-7/+19
|
* Fix csqrt overflow/underflow (bug 13841).Joseph Myers2012-03-141-2/+24
|
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-091-3/+2
|
* Add branch predictions to complex math codeUlrich Drepper2011-10-221-5/+4
|
* Use private math_private.h in files in math/Ulrich Drepper2011-10-081-1/+1
|
* Moved to csu/errno-loc.c.Ulrich Drepper2005-12-141-0/+114
|
* (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.Ulrich Drepper2004-12-221-114/+0
|
* 2.5-18.1Jakub Jelinek2007-07-121-0/+114