logoalt Hacker News

jonlong12/09/20241 replyview on HN

> The astute reader will notice that float operations are not communicative

Presumably this was meant to read "commutative". IEEE 754 addition and multiplication are commutative (ignoring NaN values), but not associative.


Replies

mattpope12/10/2024

Ah good catch, the most astute reader notices that I'm wrong twice!