]> git.ipfire.org Git - thirdparty/glibc.git/commit - ChangeLog
Add more libm-test coverage of [a-c]* real functions.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 20 Dec 2013 21:03:39 +0000 (21:03 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 20 Dec 2013 21:03:39 +0000 (21:03 +0000)
commit31e3a40588f6b215f2583c12ba29ff5cea63d2ef
tree725953dd081236e773cf669b7d74d6b79557666a
parent6165840feae41dba93b85d0cfad23f3d226fad30
Add more libm-test coverage of [a-c]* real functions.

Various libm functions have inadequate test coverage in libm-test.inc
/ auto-libm-test-in - failing to cover all the usual special cases
(infinities, NaNs, zero, large and small finite values, subnormals) as
well as a reasonable range of ordinary inputs and, where appropriate,
inputs close to the thresholds for underflow and overflow.

This patch improves test coverage for real functions [a-c]* (with the
expectation of adding more coverage for other functions later).

Tested x86_64 and x86 and ulps updated accordingly (and eight glibc
bugs and one C11 DR filed for issues found in the process).

* math/auto-libm-test-in: Add more tests of acos, acosh, asin,
asinh, atan, atan2, atanh, cbrt, cos and cosh.
* math/auto-libm-test-out: Regenerated.
* math/libm-test.inc (acosh_test_data): Add more tests.
(atanh_test_data): Likewise.
(ceil_test_data): Likewise.
(copysign_test_data): Likewise.
* sysdeps/i386/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ChangeLog
math/auto-libm-test-in
math/auto-libm-test-out
math/libm-test.inc
sysdeps/i386/fpu/libm-test-ulps
sysdeps/x86_64/fpu/libm-test-ulps