On 12/05/2011 19:41, Nick Bowler wrote:
> On 2011-05-12 21:14 +0400, Grigory Sarnitskiy wrote:

>> I don't want NaN to propagate, it is merely stupid, it should be terminated.
> 
> NaN propagation is not stupid.  Frequently, components of a computation
> that end up being NaN turn out to be irrelevant at a later point, in
> which case the NaNs can be discarded.

Unfortunately, if a NaN reaches a comparison operation, it can lead to
an end result that doesn't contain NaNs, but was still influenced by one.

Ganesh

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to