Wolfram Hinderer <wolfram.hinde...@googlemail.com> writes:
> JFTR, it works because a+b == a+b (while I don't think that a+b == b+a
> holds for all a and b).

I'm pretty sure IEEE 754 addition is always commutative (except maybe in
the presence of infinity or NaN and maybe not even then).  It differs from 
rational or real-number arithmetic in that it is not always associative.
You can have (a+b)+c != a+(b+c).  
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to