On Thu, 11 Mar 2004, Peter Eisentraut wrote:
> This needs to be definable by the user. IEEE 754 compliant systems
> should provide a way to set the behavior in case of exception
> conditions such as these. Maybe the C library provides one, or we need
> to catch this ourselves.
In C one can set a signal handler to catch floating point exceptions
(SIGFPE). Without a handler you can get NaN and Infinity as the result of
mathematical operations.
--
/Dennis Björklund