Skip to main content

floatingpoint

Specifies the style of floating point math which should be used.

floatingpoint "value"

If no value is set for a configuration, the toolset's default floating point settings will be used.

Parameters

value specifies the desired style of floating point math:

ValueDescription
DefaultUse the toolset's floating point settings.
FastEnable floating point optimizations at the expense of accuracy.
StrictImprove floating point consistency at the expense of performance.
NoneNeeds documentation

Applies To

Project configurations.

Availability

Premake 5.0 or later.

The None option is only available for VisualD projects.

Examples

floatingpoint "Fast"

See Also