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

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Oct 19 10:21:01 CEST 2009


On 18 Oct 2009, at 17:52, Tom Verhoeff wrote:

> It would be nicer if one had the ability to make floating-point  
> division
> by zero return an IEEE 754 plus/minus infinity, without raising an
> exception.

http://www.freepascal.org/docs-html/rtl/math/setexceptionmask.html

Fully cross-platform, even.


Jonas



More information about the fpc-pascal mailing list