Skip to content

Commit e0fab40

Browse files
committed
minNum doesn't care about +0 vs -0
1 parent 46eaf63 commit e0fab40

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/docs/LangRef.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16464,8 +16464,8 @@ type.
1646416464

1646516465
Semantics:
1646616466
""""""""""
16467-
Follows the IEEE754 2008 semantics for minNum, except for handling of
16468-
+0.0 vs -0.0. This matches the behavior of libm's fmin.
16467+
Follows the IEEE754 2008 semantics for minNum.
16468+
This also matches the behavior of libm's fmin.
1646916469

1647016470
If either operand is a qNaN, returns the other non-NaN operand. Returns
1647116471
NaN only if both operands are NaN or either operand is sNaN.
@@ -16507,8 +16507,8 @@ type.
1650716507

1650816508
Semantics:
1650916509
""""""""""
16510-
Follows the IEEE754 2008 semantics for maxNum, except for handling of
16511-
+0.0 vs -0.0. This matches the behavior of libm's fmax.
16510+
Follows the IEEE754 2008 semantics for maxNum.
16511+
This also matches the behavior of libm's fmax.
1651216512

1651316513
If either operand is a NaN, returns the other non-NaN operand. Returns
1651416514
NaN only if both operands are NaN or either operand is sNaN.

0 commit comments

Comments
 (0)