Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What exactly do you say is not commutative? This Wikipedia article claims that at least floating-point addition and multiplication are both commutative:

https://en.wikipedia.org/wiki/Floating-point_arithmetic#Accu...



it is for finite values, but because IEEE did some dumb things it isn't specified to be for NaN values (and on several architectures, isn't).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: