[cfe-commits] Patch for evaluating FP constant expressions
Christopher Lamb
christopher.lamb at gmail.com
Thu Nov 29 11:14:30 PST 2007
On Nov 29, 2007, at 7:04 AM, Neil Booth wrote:
> Christopher Lamb 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.
>
> Why compare results to opOK?
I assumed that if there were a problem evaluating the expression that
it'd be good to check for that. Why not compare results to opOK?
--
Christopher Lamb
More information about the cfe-commits
mailing list