From edc2949a26a1cc5d5d5fd7ef7582ddfcbb6c60a1 Mon Sep 17 00:00:00 2001 From: Wunder Wulfe <29297318+Wunder-Wulfe@users.noreply.github.com> Date: Sun, 23 Feb 2025 00:33:11 -0300 Subject: [PATCH] Update function-math-fma.md Clarified description --- docs/function-math-fma.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/function-math-fma.md b/docs/function-math-fma.md index 92ef425..50850b8 100644 --- a/docs/function-math-fma.md +++ b/docs/function-math-fma.md @@ -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.