This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -ffast-math and floating point reordering


On Thu, Mar 25, 2004 at 01:03:39AM -0500, Robert Dewar wrote:
> Joe Buck wrote:
> 
> > Ada:	the 1983 LRM seems to say that the rule is the same as for C++:
> > 
> > 	"... for a sequence of operators of the same precedence level, the
> > 	operators are associated in textual order from left to right;
> > 	parentheses can be used to impose specific associations"
> 
> First, that is the wrong document, describing a language that has been
> obsolete for a decade, please reference the Ada 95 document :-)

Thanks the correction; I've generally found that the fastest way to get
the right answer on the net is to confidently assert the answer you
believe to be right; those who know will immediately correct you, while if
you just ask, often no answers arrive.  All it requires is a willingness
to look bad on occasion.

> Secondly, this statement is talking about the evaluation structure. The
> rule about reassociation is else where (and is as I stated earlier, you
> are allowed to reassociate the the result is in the same model interval)

What is "model interval"?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]