testsuite/libffi.call/many.c


Log

Author Commit Date CI Message
Josh Triplett c00a49ec 2014-03-15T22:08:19 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.
Marcus Shawcroft f64e4a86 2013-10-15T15:20:14 Fix many.c testcase for Aarch64
David Schneider 2fbdb0f2 2013-03-25T13:26:02 use the absolute value to check the test result against an epsilon
Anthony Green c6dddbd0 2009-10-04T08:11:33 Initial commit