Leave existing tie-to-zero fix to PR 341

This commit is contained in:
kadyrbekovhamit-cyber committed 2026-09-04 22:37:41 +05:00
1 parent aa5684820a
commit 2d92c04e96
1 file changed
+1 -1
+1 -1
View File
@@ -163,7 +163,7 @@ public enum RoundingRule {
/// - `(-4).divided(by: 3, rounding: .toNearestOrZero)`
/// is `-1`, because –4/3 = –1.3̅ is closer to –1 than it is to –2.
///
/// - `5.shifted(rightBy: 1, rounding: .toNearestOrZero)` is `2`,
/// - `5.shifted(rightBy: 1, rounding: .toNearestOrZero)` is `3`,
/// because 5/2 = 2.5 is equally close to 2 and 3, and 2 is closer to zero.
case toNearestOrZero