Commit Graph
4 Commits
Author SHA1 Message Date
Josh Triplett c00a49ecd1 testsuite/libffi.call/many.c: Avoid spurious failure due to excess precision
The test case testsuite/libffi.call/many.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.
2014-03-16 04:39:37 -07:00
Marcus Shawcroft f64e4a8655 Fix many.c testcase for Aarch64 2013-10-15 15:20:14 -04:00
David Schneider 2fbdb0f231 use the absolute value to check the test result against an epsilon 2013-03-28 16:37:58 +01:00
Anthony Green c6dddbd02b Initial commit 2009-10-04 08:11:33 -04:00