[llvm] LangRef: Clarify llvm.minnum and llvm.maxnum about sNaN (PR #112852)
YunQiang Su via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 18 10:06:35 PDT 2024
================
@@ -16464,21 +16464,13 @@ type.
Semantics:
""""""""""
+Follows the IEEE754 2008 semantics for minNum, except for handling of
++0.0 vs -0.0. This matches the behavior of libm's fmin.
----------------
wzssyqa wrote:
Ohh. Yes you are right. minNUM/maxNUM of IEEE754-2008 don't require +0.0>-0.0
https://github.com/llvm/llvm-project/pull/112852
More information about the llvm-commits
mailing list