• gcwenger's avatar
    Added "min_signal" paramater to float testing (#2653) · abd1c70d
    gcwenger authored
    min_signal is intended to optionally skip checking float
    distances when numbers are close enough to 0.
    Only skips when both numbers are < min_signal.
    Intention is to allow tighter float testing in certain
    cases where most values are not near 0, but values near
    zero are differing by more bits than values farther from 0.
    Should be used with caution in limited cases.
    abd1c70d
all_close_f.hpp 11.6 KB