Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
close_at_tolerance always returns false for comparisons of infinity #156
Consider this code:
But this does not:
Also, I'm 90% sure the latter case did pass in the past (Boost 1.60 at least).
Thanks for filing this bug and checking about the regression. Not so much happened on this part since some time, and I believe the fix is quite easy. The only thing I do not know about is how other floating point types (like multiprecision) handle