### 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.