[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
Thu Jan 23 22:23:28 PST 2025
================
@@ -16723,21 +16723,29 @@ type.
Semantics:
""""""""""
+Follows the semantics of minimumNumber in IEEE-754-2019, except for signaling NaNs. If either operand
+is an sNaN, the result is always a qNaN. This matches the recommended behavior for the libm
----------------
wzssyqa wrote:
I also prefer describe it with IEEE-754-2008 as base.
https://github.com/llvm/llvm-project/pull/112852
More information about the llvm-commits
mailing list