[llvm] [LangRef] Fix typos in float min/max intrinsic docs (PR #224214)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 17 03:56:18 PDT 2026


================
@@ -17597,10 +17597,13 @@ in their handling of {ref}`NaN values <floatnan>`:
 Additionally, each of these intrinsics supports two behaviors for signed zeros.
 By default, -0.0 is considered smaller than +0.0. If the `nsz` flag is
 specified, the order is non-deterministic: If the two inputs are zeros with
-opposite sign, either input may be returned.
+opposite sign, either input may be returned. Contrary to normal `nsz`
+semantics, if both operands have the same sign, the result must also have the
+same sign.
----------------
arsenm wrote:

The nsz note is not a typo fix, and not correct? 

https://github.com/llvm/llvm-project/pull/224214


More information about the llvm-commits mailing list