Displaying 1 result from an estimated 1 matches for "float_v".
Did you mean:
float_h
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 unknowingly cause the compiler to generate double precision operations.
The most common issue is when floating point literals such as 3.14159 are
used. In C these literals are of type double,...