diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-10-16 21:28:03 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-10-16 21:28:03 +0000 |
commit | b0c3e04b71dabc701527bb07871c97a19689656d (patch) | |
tree | 45ff94af970f08e3165bbfd7a20408e5e77261d5 /math/s_casinhl.c | |
parent | 9d46370ca338054cb6ea7ebeddcf06c7ac7ad1a9 (diff) | |
download | glibc-b0c3e04b71dabc701527bb07871c97a19689656d.zip glibc-b0c3e04b71dabc701527bb07871c97a19689656d.tar.gz glibc-b0c3e04b71dabc701527bb07871c97a19689656d.tar.bz2 |
Add more tests for ceil, floor, round, trunc.
This patch adds more tests for ceil, floor, round and trunc, with a
particular focus on verifying they don't raise spurious "inexact"
exceptions for integer arguments (a C99 / C11 requirement, as opposed
to the general principle that they shouldn't raise "inexact" for any
arguments at all which is a TS 18661-1 requirement).
Tested for x86_64 and x86.
* math/libm-test.inc (ceil_test_data): Add more tests and more
expectations for "inexact".
(floor_test_data): Add more tests.
(round_test_data): Likewise.
(trunc_test_data): Likewise.
Diffstat (limited to 'math/s_casinhl.c')
0 files changed, 0 insertions, 0 deletions