Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!elroy.jpl.nasa.gov!ncar!gatech!bloom-beacon!eru!hagbard!sunic!mcsun!hp4nl!star.cs.vu.nl!eck@cs.vu.nl From: eck@cs.vu.nl (Hans van Eck) Newsgroups: comp.std.c Subject: floating point constant folding Message-ID: <8191@star.cs.vu.nl> Date: 9 Nov 90 15:01:20 GMT Sender: news@cs.vu.nl Organization: Fac. Wiskunde & Informatica, VU, Amsterdam Lines: 12 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@cs.vu.nl