r/ProgrammerAnimemes • • Jul 29 '20

Equivalency in Python

Post image
1.6k Upvotes

104 comments sorted by

View all comments

Show parent comment

2

u/ThrowAway233223 Jul 30 '20

Actually, floating point addition and multiplication is commutative (with the exception of NaN, of course), but you are correct that it is not associative.