3 ms·
Ah, that's news to me - can you provide a reference? I'm trying to look it up but my Google-fu is failing to find a specific link. Thanks.
by ColinWright 14y ago
Ah, that's news to me - can you provide a reference? I'm trying to look it up but my Google-fu is failing to find a specific link. Thanks.
- VMG 14y agoThis paper is referenced in a newsgroup discussion: http://dl.acm.org/citation.cfm?id=156301.156303 http://dl.acm.org/citation.cfm?id=156301.156303 http://newsgroups.derkeiler.com/Archive/Comp/comp.lang.functional/2007-05/msg00256.html http://newsgroups.derkeiler.com/Archive/Comp/comp.lang.funct...
- ColinWright 14y agoSo quoting from the discussion: Oh, of course: for non-NaNs, correctly implemented IEEE arithmetic is "exactly rounded". So addition of non-NaNs must be commutative for any given rounding rule, ...
- notaddicted 14y agoThat's not the behaviour I'm seeing on my machine. (http://codepad.org/rlLuB5VF http://codepad.org/rlLuB5VF) ... but, if you subtract zero from zero the sign depends on the order: http://codepad.org/g9LzZWPd http://codepad.org/g9LzZWPd .