mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-21 15:55:34 +02:00
These originally checked for expected ± EPSILON as logged, but since commit880c6939they check for expected ± max_err, where max_err may need to be greater than EPSILON for very large expected results like the ones in exp_regularCases(). Also, EPSILON is so small that the default precision of the %f format (6 decimal places) would never actually have shown its effect, so log it in scientific notation instead. Fixes:880c6939"testautomation_math: do relative comparison + more precise correct trigonometric values" Signed-off-by: Simon McVittie <smcv@collabora.com>
97 KiB
97 KiB