Don't rely on excess precision: -4 > -3.00000024 - 1 can evaluate to false
authorBruno Haible <bruno@clisp.org>
Sat, 20 Oct 2007 12:34:54 +0000 (14:34 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 20 Oct 2007 12:34:54 +0000 (14:34 +0200)
commitc532b2a8ef48d317a1bc348584c00880ea7c5ba6
tree3211dfaabd3df0a8d5710606512073e7ecd05f40
parentcf3719f4dcf54ebc3ef884a74c7ed9f80fc2912c
Don't rely on excess precision: -4 > -3.00000024 - 1 can evaluate to false
if the CPU rounds correctly to nearest.
ChangeLog
tests/test-ceilf2.c
tests/test-floorf2.c
tests/test-trunc2.c
tests/test-truncf2.c