News for hackers. Stuff that matters.
Re:In Erlang/OTP 27, +0.0 will no longer be exactly equal to... by adgjlsfhk1 on Wednesday May 10, 2023 @01:06AM (#35883843)
this isn't true. floats don't have semantics of internals. they have semantics of exact points that do math with rounding (otherwise the result of subtracting 2 floats would sometimes be more than 1 float)
Re:In Erlang/OTP 27, +0.0 will no longer be exactly equal to... by throwawaymaths on Wednesday May 10, 2023 @01:27AM (#35883965)
Moreover the spec defines rounding modes (rtnz, rtg, rtfz rtl) that are designed to exactly do interval arithmetic