[llvm] LangRef: Clarify llvm.minnum and llvm.maxnum about sNaN and signed zero (PR #112852)

YunQiang Su via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 18:36:40 PST 2024


================
@@ -16625,20 +16639,34 @@ type.
 
 Semantics:
 """"""""""
-Follows the IEEE-754 semantics for maxNum except for the handling of
-signaling NaNs. This matches the behavior of libm's fmax.
+Follows the IEEE-754 semantics for minNum, except that -0.0 < +0.0 for the purposes
----------------
wzssyqa wrote:

I try to not use the words like `change` here.  In the IEEE754 wordings, 2019 removes `minNum/maxNum`, and introduces new `minimumNumber/maximumNumber`.

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


More information about the llvm-commits mailing list