logoalt Hacker News

sva_today at 12:53 AM1 replyview on HN

> floating point accumulation doesn't commute

It is commutative (except for NaN). It isn't associative though.


Replies

ekelsentoday at 2:22 AM

I think it commutes even when one or both inputs are NaN? The output is always NaN.

show 1 reply