about summary refs log tree commit diff
path: root/math/s_clog10f.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix clog10 (-0 +/- 0i) (bug 16362).Joseph Myers2014-03-281-1/+4
| | | | | | | | | | | | | | | | | | | | | | This patch fixes the imaginary part of clog10 (-0 +/- 0i), which should be +/-pi / log(10) by analogy with clog (the functions were wrongly returning a result with imaginary part +/-pi, same as for clog, and the tests matched the incorrect result, though both functions and tests were correct for the similar case of clog10 (-inf +/- 0i)). Tested x86_64 and x86. [BZ #16362] * math/s_clog10.c (M_PI_LOG10E): New macro. (__clog10): Use M_PI_LOG10E instead of M_PI when real and imaginary parts are 0. * math/s_clog10f.c (M_PI_LOG10Ef): New macro. (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and imaginary parts are 0. * math/s_clog10l.c (M_PI_LOG10El): New macro. (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and imaginary parts are 0. * math/libm-test.inc (clog10_test_data): Update expected results for when real and imaginary parts are 0.
* Use glibc_likely instead __builtin_expect.Ondřej Bílka2014-02-101-2/+2
|
* 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 inaccuracy of clog, clog10 near |z| = 1 (bug 13629).Joseph Myers2012-09-251-0/+13
|
* Improve clog, clog10 handling of values with real or imaginary part slightly ↵Joseph Myers2012-07-311-0/+7
| | | | above 1 (bug 13629).
* Improve clog, clog10 handling of values with real or imaginary part 1 (bug ↵Joseph Myers2012-07-261-9/+29
| | | | 13629).
* Fix clog, clog10 spurious underflow exceptions (bug 14337).Joseph Myers2012-07-091-9/+14
|
* Fix clog overflow/underflow (bug 13629).Joseph Myers2012-03-191-3/+25
|
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-091-3/+2
|
* Add branch predictions to complex math codeUlrich Drepper2011-10-221-4/+3
|
* 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/+63
|
* (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.Ulrich Drepper2004-12-221-63/+0
|
* 2.5-18.1Jakub Jelinek2007-07-121-0/+63