These originally checked for expected ± EPSILON as logged, but since commit 880c6939 they 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>
99 KiB
99 KiB