premake/website/docs/fpu.md
2021-03-12 22:10:24 +01:00

27 lines
622 B
Markdown

Specifies whether to generate code for a hardware FPU.
```lua
fpu "value"
```
### Parameters ###
`value` specifies the desired FPU mode:
| Value | Description |
|-------------|-------------------------------------------------------------------|
| Software | Generate software floating-point emulation code. |
| Hardware | Generate code for a hardware FPU. |
### Applies To ###
Project configurations.
### Availability ###
Premake 5.0 or later.
### See Also ###
* [floatingpoint](floatingpoint.md)