Steven D'Aprano <steve <at> pearwood.info> writes:
> 
> Personally, I'm less concerned about sets of floats ending up with 
> strange combinations of NANs than I am about the possibility of 
> disastrous maths errors caused by allowing NANs to test as equal. 
> Here's a simplistic example:

You just said "if you choose to use floats, then you need to understand that
NANs are weird". I wonder why this saying shouldn't apply to your "simplistic
example" of NAN usage.

(is your example even from real life?)


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to