Hello,

  WriteLn(FloatToStr(100 / 0));

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?


thx
Michael
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to