premake/website/docs/floatingpoint.md
Sam Surtees 0e70ae7ab0 Added check for missing values in documentation to docs-check action
- Added missing values in documentation files
2021-11-03 02:52:20 +10:00

39 lines
1.0 KiB
Markdown

Specifies the style of floating point math which should be used.
```lua
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:
| Value | Description |
|-------------|-------------------------------------------------------------------|
| Default | Use the toolset's floating point settings. |
| Fast | Enable floating point optimizations at the expense of accuracy. |
| Strict | Improve floating point consistency at the expense of performance. |
| None | Needs documentation |
### Applies To ###
Project configurations.
### Availability ###
Premake 5.0 or later.
The **None** option is only available for VisualD projects.
### Examples ###
```lua
floatingpoint "Fast"
```
### See Also ###
* [vectorextensions](vectorextensions.md)