Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: