From b0c3e04b71dabc701527bb07871c97a19689656d Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 16 Oct 2015 21:28:03 +0000 Subject: 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. --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 2de4c4652e..cd2aa6841f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2015-10-16 Joseph Myers + * 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. + * crypt/cert.c (good_bye): Convert to prototype-style function definition. (get8): Likewise. -- cgit v1.2.3