TIL: since Erlang/OTP 27 and above pattern matching on `0.0` matches only +0.0. You have to pattern match on both, +0.0 and -0.0 to cover both cases.
TIL: since Erlang/OTP 27 and above pattern matching on 0.0
matches only +0.0. You have to pattern match on both, +0.0 and -0.0 to cover both cases.