Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
da12
· 4y ago · 0 comments
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.
Comments
[–]
longemen3000
4y ago
The Julia equivalent does a good job explaining the 0.0 case:
https://docs.julialang.org/en/v1/base/math/#Base.isapprox
[–]
macintux
4y ago
I assume “out of the box” is the distinction.