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


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 :-)

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)



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