Support for non-unique process labels?

Nicolas Martyanoff khaelin@REDACTED
Wed May 12 14:38:31 CEST 2021


Peer Stritzinger <peer@REDACTED> writes:

> Just remembered this one:
>
>> On 10. May 2021, at 18:30, Peer Stritzinger <peer@REDACTED> wrote:
>> 
>>> And there is no
>>> difference between -0.0 and +0.0.
>> 
>> I’m not aware that Erlang does mishandle -0.0 and +0.0 what do you mean?
>
> Seems to be fixed in OTP 24 now:
>
> OTP-17077    Application(s): compiler, erts, stdlib
>                Related Id(s): ERL-1431, PR-2903, PR-2905, PR-2906
>
>                A floating point zero (0.0) can be both positive (+0.0)
>                and negative (-0.0). Multiple bugs in the compiler,
>                runtime system, and STDLIB have been fixed to ensure
>                that the minus sign on 0.0 is not lost.

This is really nice, thank you for pointing it out !

-- 
Nicolas Martyanoff
http://snowsyn.net
khaelin@REDACTED


More information about the erlang-questions mailing list