[erlc] miscompilation of pattern that can return either 0.0 or -0.0
RobinMorisset opened this issue · 2 comments
RobinMorisset commented
jhogberg commented
We're aiming to fix this in OTP 27 by making matching and =:=
distinguish between +0.0
and -0.0
:
https://erlangforums.com/t/in-erlang-otp-27-0-0-will-no-longer-be-exactly-equal-to-0-0/2586
jhogberg commented
Fixed in OTP 27, thanks for your report :)