Initial community commit
This commit is contained in:
35
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/floatingpoint.md
vendored
Normal file
35
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/floatingpoint.md
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
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. |
|
||||
|
||||
### Applies To ###
|
||||
|
||||
Project configurations.
|
||||
|
||||
### Availability ###
|
||||
|
||||
Premake 5.0 or later.
|
||||
|
||||
### Examples ###
|
||||
|
||||
```lua
|
||||
floatingpoint "Fast"
|
||||
```
|
||||
|
||||
### See Also ###
|
||||
|
||||
* [vectorextensions](vectorextensions.md)
|
||||
Reference in New Issue
Block a user