Re: Reduction of Strength and Polynomials

n8tm@aol.com (N8TM)
31 Mar 1997 15:23:07 -0500

          From comp.compilers

Related articles
Reduction of Strength and Polynomials ilja@wi.leidenuniv.nl (Ilja Heitlager) (1997-03-27)
Re: Reduction of Strength and Polynomials n8tm@aol.com (1997-03-31)
| List of all articles for this month |

From: n8tm@aol.com (N8TM)
Newsgroups: comp.compilers
Date: 31 Mar 1997 15:23:07 -0500
Organization: AOL http://www.aol.com
References: 97-03-147
Keywords: optimize, arithmetic

Several compilers expand the terms of a polynomial and take advantage
of common factors. However, I have never seen anything which would
use distributive properties to change the order of addition and
multiplication> Compilers which ignore parentheses (IRIX
-OPT:roundoff=2) don't seem to have any good reason for the order of
addition and subtraction which they choose. It seems that if you know
the way you want it done, you must dictate it with parentheses and
avoid compiler options which defeat them.


Tim
--


Post a followup to this message

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