News for hackers. Stuff that matters.
Re:Comparing Floating-Point Numbers Is Tricky by ubernostrum on Friday March 31, 2017 @01:30AM (#14001353)
Python has math.isclose() in the standard library, with configurable tolerances:

https://docs.python.org/3/library/math.html#math.isclose

There are no comments on this comment yet.