search for: numericliteralparser

Displaying 2 results from an estimated 2 matches for "numericliteralparser".

2015 Jul 15
2
[LLVMdev] [Clang] Reasons for lack of -fsingle-precision-constant support? Alternatives?
Thanks for the response. If we add the support would you accept the patch? Seems like a pretty straightforward flag since it maps directly to NumericLiteralParser::NumericLiteralParser within LiteralSupport.cpp. I understand the maintenance concern with flags that affect multiple points in code though. Still trying to get the bottom of why we're crashing with double floating point literal. It seems the fpu in question (fpv4-sp-d16) only supports 32 bi...
2015 Jul 15
4
[LLVMdev] [Clang] Reasons for lack of -fsingle-precision-constant support? Alternatives?
Hi All, Clang lacks support for the -fsingle-precision-constant flag. Are there specific reasons for this or is it just waiting to be implemented? This flag is especially important in the embedded world. From http://processors.wiki.ti.com/index.php/Floating_Point_Optimization#float_vs._double_vs._long_double : *Once all of your data is defined as float, there are still cases where you may