about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-10-16 21:28:03 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-10-16 21:28:03 +0000
commitb0c3e04b71dabc701527bb07871c97a19689656d (patch)
tree45ff94af970f08e3165bbfd7a20408e5e77261d5 /ChangeLog
parent9d46370ca338054cb6ea7ebeddcf06c7ac7ad1a9 (diff)
downloadglibc-b0c3e04b71dabc701527bb07871c97a19689656d.tar.gz
glibc-b0c3e04b71dabc701527bb07871c97a19689656d.tar.xz
glibc-b0c3e04b71dabc701527bb07871c97a19689656d.zip
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 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2de4c4652e..cd2aa6841f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
 
+	* 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.