Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2003-05

DivByZero

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Adam Naumowicz

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:
Sosnowa 64, 15-887 Bialystok, Poland http://math.uwb.edu.pl/~adamn/ ======================================================================

Reply by email