floating point constant folding

Hans van Eck eck at cs.vu.nl
Sat Nov 10 02:01:20 AEST 1990


Is it allowed to evaluate constant floating point expressions with greater
range and precision than that of the execution environment in contexts
where a constant is not required?

There are unexpected implications of both allowing and disallowing such
folding, but I cannot find a statement in the standard that unambiguously
says what a translator may or may not do.
--
Hans van Eck, Dept. of Mathematics and Computer Science, Vrije Universiteit,
De Boelelaan 1081, 1081 HV Amsterdam, The Netherlands
Voice: +31 20 5485302 			Email:	eck at cs.vu.nl



More information about the Comp.std.c mailing list