News for hackers. Stuff that matters.
Re:Toward an API for the Real Numbers by dchapp on Tuesday October 06, 2020 @08:48PM (#24704176)
> I'm sorry addition isn't commutative...

My understanding is that in IEEE 754 compliant implementations of floating-point arithmetic, commutativity over "+" holds but not associativity. (With the possible exception to commutativity for the NaNs, though I don't remember offhand whether this caveat is necessary).

Re:Toward an API for the Real Numbers by taylodl on Wednesday October 07, 2020 @09:02AM (#24707724)
You are correct. It's associativity that doesn't hold, not commutativity. It really throws people off.