[fpc-pascal] Division by Zero: EDivByZero and EZeroDivide

Bart bartjunk64 at gmail.com
Mon Oct 19 17:04:32 CEST 2009


Jonas,

Could you comment on my opinion that in case of a floating point
divide by zero error an EZeroDivide should be raised (or no exception
at all depending on the FPU exception mask) and only in case of
integer divide by zero (div operation) an EDivByZero should be raised?

This was my original question and no one seems to have an opinion on that.

Bart



More information about the fpc-pascal mailing list