Skip to content

tests: Accept slightly different numeric results

Simon McVittie requested to merge wip/smcv/i387 into main
  • tests: Accept slightly different numeric results

    FLT_EPSILON is the distance between 1.0 and the next distinct floating point number, and doesn't necessarily have anything to do with the precision we can expect from a series of floating-point calculations. Experimentally, 1e-6 is achievable, even on platforms with unusual floating point implementations like i387.

    Resolves: #6051 (closed)
    Bug-Debian: https://bugs.debian.org/1050076

Edited by Simon McVittie

Merge request reports

Loading