Add more tests of pow.
commit685312298fcc5b24ed9700bcc43787d5f83553c5
authorJoseph Myers <joseph@codesourcery.com>
Tue, 10 Nov 2015 17:34:13 +0000 (10 17:34 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 10 Nov 2015 17:34:13 +0000 (10 17:34 +0000)
tree98c4fe12f8634c62d5357a5137292e8e1987072a
parent71bbdde7f53951f6a1d59492f36f80769090a8b3
Add more tests of pow.

Prompted by a gcc-patches discussion, this patch adds tests of pow for
the cases where pow (x, 0.5) is required to return a different result
from sqrt (x), as those cases were previously missing from the tests
(although they worked correctly).

Tested for x86_64 and x86.

* math/auto-libm-test-in: Add another test of pow.
* math/auto-libm-test-out: Regenerated.
* math/libm-test.inc (pow_test_data): Add another test.
ChangeLog
math/auto-libm-test-in
math/auto-libm-test-out
math/libm-test.inc