[llvm] APFloat: Fix signed zero handling in minnum/maxnum (PR #83376)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 29 02:51:34 PST 2024
================
@@ -1389,8 +1389,9 @@ inline APFloat neg(APFloat X) {
return X;
}
-/// Implements IEEE minNum semantics. Returns the smaller of the 2 arguments if
-/// both are not NaN. If either argument is a NaN, returns the other argument.
+/// Implements IEEE-754 2019 minimumNumber semantics. Returns the smaller of the
+/// 2 arguments if both are not NaN. If either argument is a NaN, returns the
+/// other argument. -0 is treated as ordered
----------------
jayfoad wrote:
Description looks truncated
https://github.com/llvm/llvm-project/pull/83376
More information about the llvm-commits
mailing list