Re:In Erlang/OTP 27, +0.0 will no longer be exactly equal to...
by jandrese on Tuesday May 09, 2023 @04:37PM
(#35880071)
IMHO That was poorly worded. What it should have said is "if you find yourself using equals to compare floating point numbers...". With Floating Point your comparisons should always be less than or greater than. Precision artifacts make the equals unreliable, and you should always be mindful of that when dealing with them.
[ Parent
| on HN ]
There are no comments on this comment yet.