[fpc-pascal] Division by Zero

Michael Fuchs freepascal at ypa-software.de
Tue Aug 23 11:25:08 CEST 2011


Am 23.08.2011 09:16, schrieb Andreas Schneider:
>> This code prints on the screen "+Inf", but I think it should be "NaN".
>> Is this a bug or a special case in computer arithmetic?
>
> http://en.wikipedia.org/wiki/Division_by_zero#In_computer_arithmetic

Oh, thank you. I should not read only the german part of wikipedia.
Shame on me.

Michael



More information about the fpc-pascal mailing list