Re:In Erlang/OTP 27, +0.0 will no longer be exactly equal to...
by dzaima on Tuesday May 09, 2023 @05:18PM
(#35880519)
And then there's the question of how you use the epsilon - i.e. whether 1.2e-16 and 1e-20 are "within 1%". Sometimes those are very much different sizes, but if you're comparing sin(π) (i.e. the 1.2e-16) with some other almost-zero computation, they're very much within 1%.
[ Parent
| on HN ]
There are no comments on this comment yet.