[fpc-pascal]DivByZero

Adam Naumowicz adamn at math.uwb.edu.pl
Fri May 23 11:54:48 CEST 2003


Hello,

I'd like to know whether there is some reason standing behind the fact
that dividing a Real variable by 0 raises EDivByZero when compiled with
FPC 1.0.6 on Linux, but FPC 1.0.6 on Solaris produces no such exception -
the value of the result is displayed as NaN.
Is that because of rudimentary implementation of exceptions in Solaris
FPC 1.0.6 ?
If so, has it been changed in current version?

Best regards,
Adam Naumowicz

======================================================================
Department of Applied Logic            fax. +48 (85) 745-7662
Institute of Computer Science          tel. +48 (85) 745-7559 (office)
University of Bialystok                e-mail: adamn at mizar.org
Sosnowa 64, 15-887 Bialystok, Poland   http://math.uwb.edu.pl/~adamn/
======================================================================






More information about the fpc-pascal mailing list