Re: Compiler optimization and floating point operations

George Neuner <gneuner2@comcast.net>
Thu, 24 Oct 2013 15:51:08 -0400

          From comp.compilers

Related articles
Compiler optimization and floating point operations abidmuslim@gmail.com (Abid) (2013-10-23)
Re: Compiler optimization and floating point operations cameron.mcinally@nyu.edu (Cameron McInally) (2013-10-23)
Re: Compiler optimization and floating point operations gah@ugcs.caltech.edu (glen herrmannsfeldt) (2013-10-24)
Re: Compiler optimization and floating point operations gneuner2@comcast.net (George Neuner) (2013-10-24)
Re: Compiler optimization and floating point operations jm@bourguet.org (Jean-Marc Bourguet) (2013-10-24)
Re: Compiler optimization and floating point operations sgk@troutmask.apl.washington.edu (Steven G. Kargl) (2013-10-24)
Re: Compiler optimization and floating point operations gneuner2@comcast.net (George Neuner) (2013-10-24)
Re: Compiler optimization and floating point operations gah@ugcs.caltech.edu (glen herrmannsfeldt) (2013-10-24)
Re: Compiler optimization and floating point operations christian.bau@cbau.wanadoo.co.uk (2013-10-28)
Re: Compiler optimization and floating point operations christian.bau@cbau.wanadoo.co.uk (2013-10-28)
Re: Compiler optimization and floating point operations cameron.mcinally@nyu.edu (Cameron McInally) (2013-10-28)
| List of all articles for this month |
From: George Neuner <gneuner2@comcast.net>
Newsgroups: comp.compilers
Date: Thu, 24 Oct 2013 15:51:08 -0400
Organization: A noiseless patient Spider
References: 13-10-026 13-10-029
Keywords: arithmetic, administrivia
Posted-Date: 24 Oct 2013 16:44:39 EDT

On Thu, 24 Oct 2013 07:41:12 -0400, George Neuner
<gneuner2@comcast.net> 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



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.