Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix clog / clog10 sign of zero result in round-downward mode (bug 16789). | Joseph Myers | 2014-04-02 | 1 | -6/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes bug 16789, incorrect sign of (real part) zero result from clog and clog10 in round-downward mode, arising from that real part being computed as 0 - 0. To ensure that an underflow exception occurred, the code used an underflowing value (the next term in the series for log1p) in arithmetic computing the real part of the result, yielding the problematic 0 - 0 computation in some cases even when the mathematical result would be small but positive. The patch changes this code to use the math_force_eval approach to ensuring that an underflowing computation actually occurs. Tests of clog and clog10 are enabled in all rounding modes. Tested x86_64 and x86 and ulps updated accordingly. [BZ #16789] * math/s_clog.c (__clog): Use math_force_eval to ensure underflow instead of using underflowing value in computing result. * math/s_clog10.c (__clog10): Likewise. * math/s_clog10f.c (__clog10f): Likewise. * math/s_clog10l.c (__clog10l): Likewise. * math/s_clogf.c (__clogf): Likewise. * math/s_clogl.c (__clogl): Likewise. * math/libm-test.inc (clog_test): Use ALL_RM_TEST. (clog10_test): Likewise. * sysdeps/i386/fpu/libm-test-ulps: Update. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. | ||||
* | Use glibc_likely instead __builtin_expect. | Ondřej Bílka | 2014-02-10 | 1 | -2/+2 |
| | |||||
* | 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 inaccuracy of clog, clog10 near |z| = 1 (bug 13629). | Joseph Myers | 2012-09-25 | 1 | -0/+13 |
| | |||||
* | Improve clog, clog10 handling of values with real or imaginary part slightly ↵ | Joseph Myers | 2012-07-31 | 1 | -0/+7 |
| | | | | above 1 (bug 13629). | ||||
* | Improve clog, clog10 handling of values with real or imaginary part 1 (bug ↵ | Joseph Myers | 2012-07-26 | 1 | -9/+27 |
| | | | | 13629). | ||||
* | Fix clog, clog10 spurious underflow exceptions (bug 14337). | Joseph Myers | 2012-07-09 | 1 | -9/+14 |
| | |||||
* | Fix clog overflow/underflow (bug 13629). | Joseph Myers | 2012-03-19 | 1 | -4/+23 |
| | |||||
* | 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 | -4/+3 |
| | |||||
* | 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/+65 |
| | |||||
* | (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. | Ulrich Drepper | 2004-12-22 | 1 | -65/+0 |
| | |||||
* | 2.5-18.1 | Jakub Jelinek | 2007-07-12 | 1 | -0/+65 |