[llvm] LangRef: Rephrase fma description to avoid referring to libm (PR #92729)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 03:03:36 PDT 2024


https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/92729

None

>From b8665c2a5dfc65e00aa63967cfd4512d2f70c998 Mon Sep 17 00:00:00 2001
From: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: Mon, 20 May 2024 12:02:34 +0200
Subject: [PATCH] LangRef: Rephrase fma description to avoid referring to libm

---
 llvm/docs/LangRef.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index e2f4d8bfcaeed..936a402b18ed0 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -15757,8 +15757,8 @@ The arguments and return value are floating-point numbers of the same type.
 Semantics:
 """"""""""
 
-Return the same value as a corresponding libm '``fma``' function but without
-trapping or setting ``errno``.
+Return the same value as the IEEE-754 fusedMultiplyAdd operation. This
+is assumed to not trap or set ``errno``.
 
 When specified with the fast-math-flag 'afn', the result may be approximated
 using a less accurate calculation.



More information about the llvm-commits mailing list