[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Floating point problems



Richard Henderson wrote:
>
> The question, then, is what to do with the other problematic
> return values, Inf and NaN?  Should Inf be replaced by the
> largest finite value?
> 

IMHO, clearly not. Instead of Denormals, for NaN and Infs, there is
no meaningful replacement value, any program where those appear should
be considered in error and it should trap - as it does already now -
when those occur.

 Joachim



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []