mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-04-05 11:00:58 +01:00
Update function-math-fma.md
Clarified description
This commit is contained in:
parent
1af39f3c02
commit
edc2949a26
1 changed files with 1 additions and 1 deletions
|
@ -116,5 +116,5 @@ When generating `native` code with `--!native` or `@native`, the operation shoul
|
|||
|
||||
## Alternatives
|
||||
|
||||
- Not implementing `math.fma`, remaining with the lesser optimized method of manually computing `(a * b) + c`
|
||||
- Not implementing `math.fma`, remaining with the lesser optimized method of manually computing `(a * b)` followed by `a + b`.
|
||||
- Implementing sister functions, such as `math.fms` and/or `math.fma231`, to make full use of the [FMA instruction set](https://en.wikipedia.org/wiki/FMA_instruction_set), allowing for more delicate optimization of operations, and finer control over the order and structure of operations.
|
||||
|
|
Loading…
Add table
Reference in a new issue