# Re: Compiler optimization and floating point operations

## George Neuner <gneuner2@comcast.net>

Thu, 24 Oct 2013 15:51:08 -0400

*From comp.compilers*

| 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.