[cfe-commits] Patch for evaluating FP constant expressions

Christopher Lamb christopher.lamb at gmail.com
Wed Nov 28 22:18:31 PST 2007


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.

--
Christopher Lamb





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20071128/ee6836da/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-fp-constant-expressions.patch
Type: application/octet-stream
Size: 6853 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20071128/ee6836da/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20071128/ee6836da/attachment-0001.html>


More information about the cfe-commits mailing list