diff options
author | Joseph Myers <joseph@codesourcery.com> | 2014-03-17 21:18:18 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2014-03-17 21:18:18 +0000 |
commit | b36208627c3cd3b5f031a4e42d0f21211f7ccba0 (patch) | |
tree | 794ab9550f30e76a9a7f04bed9a75e9aac9274a8 /libio/tst-fgetwc.input | |
parent | 04ec140a2e250a616794285e19d481cf3fa4e790 (diff) | |
download | glibc-b36208627c3cd3b5f031a4e42d0f21211f7ccba0.tar glibc-b36208627c3cd3b5f031a4e42d0f21211f7ccba0.tar.gz glibc-b36208627c3cd3b5f031a4e42d0f21211f7ccba0.tar.bz2 glibc-b36208627c3cd3b5f031a4e42d0f21211f7ccba0.zip |
Test rint and nearbyint with same inputs, in all rounding modes.
This patch arranges for rint and nearbyint to be tested by
libm-test.inc with the same inputs (previously each had some test
inputs the other didn't, although there was a lot of overlap as well),
and for nearbyint to be tested in all rounding modes where previously
it was only tested in round-to-nearest mode. The expected results are
the same for each function, except that rint is expected to have
"inexact" exceptions for non-integer input and nearbyint is expected
not to have those exceptions.
Tested x86_64 and x86.
* math/libm-test.inc (nearbyint_test_data): Include all tests used
for rint. Include results for all rounding modes.
(nearbyint_test): Use ALL_RM_TEST.
(rint_test_data): Include all tests used for nearbyint.
Diffstat (limited to 'libio/tst-fgetwc.input')
0 files changed, 0 insertions, 0 deletions