Hacker News new | ask | show | jobs
by da12 1535 days ago
Could you explain what you mean the 0.0 case? math.isclose() has an abs_tol parameter for, among other things, handling comparisons to 0.
2 comments

The Julia equivalent does a good job explaining the 0.0 case: https://docs.julialang.org/en/v1/base/math/#Base.isapprox
I assume “out of the box” is the distinction.