diff -r 4891d49809bb -r 2b3996fc09a1 core/com.nokia.carbide.cpp.compiler.doc.user/html/pragmas/p_float_constants.htm --- a/core/com.nokia.carbide.cpp.compiler.doc.user/html/pragmas/p_float_constants.htm Mon Jul 19 15:31:48 2010 -0500 +++ b/core/com.nokia.carbide.cpp.compiler.doc.user/html/pragmas/p_float_constants.htm Mon Jul 19 16:13:24 2010 -0500 @@ -1,27 +1,27 @@ - - - - - - - float_constants - - - - -

float_constants

-

Controls how floating pointing constants are treated.

-
Syntax
-

#pragma float_constants on | off | reset -

-
Targets
- All platforms.
-
Remarks
-

If you enable this pragma, the compiler assumes that all unqualified floating point constant values are of type float, not double. This pragma is useful when porting source code for programs optimized for the “float” rather than the “double” type.

-

When you enable this pragma, you can still explicitly declare a constant value as double by appending a “D” suffix. For related information, see “The “D” Constant Suffix”.

-

This pragma does not correspond to any panel setting. To check this setting, use the __option (float_constants), described in Checking Settings. The default setting is off.

- - - - - + + + + + + + float_constants + + + + +

float_constants

+

Controls how floating pointing constants are treated.

+
Syntax
+

#pragma float_constants on | off | reset +

+
Targets
+ All platforms.
+
Remarks
+

If you enable this pragma, the compiler assumes that all unqualified floating point constant values are of type float, not double. This pragma is useful when porting source code for programs optimized for the “float” rather than the “double” type.

+

When you enable this pragma, you can still explicitly declare a constant value as double by appending a “D” suffix. For related information, see “The “D” Constant Suffix”.

+

This pragma does not correspond to any panel setting. To check this setting, use the __option (float_constants), described in Checking Settings. The default setting is off.

+ + + + +