[cfe-commits] Patch for evaluating FP constant expressions
neil at daikokuya.co.uk
Thu Nov 29 14:37:11 PST 2007
Chris Lattner wrote:-
> >I needed this to support negation of FP literals, which is pretty
> >unambiguous. It looks like GCC evaluates more complex constant
> >expressions too, so I put in support for some of that (though
> >rounding mode is an issue). All of this is modeled on the work for
> >integer expressions and uses APFloat.
> Very interesting, I didn't realize that this was non-conforming:
> double x = -1.0;
I don't understand? This is quite OK of course, and required to be
I see a lot of confusion about initializers.
More information about the cfe-commits