Re:In Erlang/OTP 27, +0.0 will no longer be exactly equal to...
by abhgh on Tuesday May 09, 2023 @05:54PM
(#35880867)
As a followup to this comment, in Python you have the option of using `isclose()` which is present in both `numpy`[1] and the standard `math` [2] libraries. This has been quite helpful for me in comparing small probability values.
[1] https://numpy.org/doc/stable/reference/generated/numpy.isclo...
[2] https://docs.python.org/3/library/math.html#math.isclose