[Oberon] Modulus on negative number
Skulski, Wojciech
skulski at pas.rochester.edu
Wed May 17 08:54:05 CEST 2017
Joerg:
>> 1. Does Oberon support NaN? If not then maybe it should?
>> 2. Could the "undefined" become "defined as NaN" in all numerical cases which are now undefined?
>„NaN“ is a special value for floating point numbers defined in IEEE 754. In Oberon, DIV and MOD are defined on positive INTEGERs. Hence, no "NaN".
This is why I said "somewhat related". I understand the integer case, but how about the floating point?
Do the NaNs depend on the hardware support? Is it wise to specify them in the language?
Wojtek
More information about the Oberon
mailing list