https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121942
--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Linas Vepstas from comment #7) > What I'd really like to see in the standard is some function that compares > two floats up to N ULPS. The underlying issue is that numeric algos tend to > chop off a few bits of precision here and there, depending on the algo. I > can live with that, as long as its "just a few bits", and this is what > motivated this routine. There is boost::float_distance
