Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news.linkpendium.com!news.linkpendium.com!news.iecc.com!.POSTED!nerds-end From: George Neuner Newsgroups: comp.compilers Subject: Re: Compiler optimization and floating point operations Date: Thu, 24 Oct 2013 15:51:08 -0400 Organization: A noiseless patient Spider Lines: 13 Sender: johnl@iecc.com Approved: comp.compilers@iecc.com Message-ID: <13-10-033@comp.compilers> References: <13-10-026@comp.compilers> <13-10-029@comp.compilers> NNTP-Posting-Host: news.iecc.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: leila.iecc.com 1382647479 75825 64.57.183.58 (24 Oct 2013 20:44:39 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Thu, 24 Oct 2013 20:44:39 +0000 (UTC) Keywords: arithmetic, administrivia Posted-Date: 24 Oct 2013 16:44:39 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:1016 On Thu, 24 Oct 2013 07:41:12 -0400, George Neuner wrote: >Floating point operations, in general, are not commutative: changing >the order of evaluation of sub-expressions can change the results. John replied: >[I think you mean they're not associative. I don't know any situations >where a+b != b+a, but lots where a+(b+c) != (a+b)+c -John] Yes, definitely "associative". Thanks for the correction. George