testsuite/libffi.call/many_win32.c: Avoid spurious failure due to excess precision
authorJosh Triplett <josh@joshtriplett.org>
Sun, 16 Mar 2014 05:08:19 +0000 (22:08 -0700)
committerJosh Triplett <josh@joshtriplett.org>
Sun, 16 Mar 2014 11:39:37 +0000 (04:39 -0700)
commit88d562a8b5912e99306063fe3bc289bab6ca6ebe
tree0a328daa610e27560edadb5b2da9337053c49a39
parentc00a49ecd165b2d06c1c9b249d212dc843fa116f
testsuite/libffi.call/many_win32.c: Avoid spurious failure due to excess precision

The test case testsuite/libffi.call/many_win32.c can spuriously fail due
to excess floating-point precision.  Instrumenting it with some printf
calls shows differences well above FLT_EPSILON.  (Note when
instrumenting it that multiple computations of the difference, such as
one in a print and another in the conditional, may produce different
results.)

Rather than complicating the test suite with architecture-specific flags
to avoid excess precision, just simplify the floating-point computation
to avoid a dependency on potential excess precision.
testsuite/libffi.call/many_win32.c