From 2d92c04e9634ef8dc8a65931ca55b2708ff66006 Mon Sep 17 00:00:00 2001 From: kadyrbekovhamit-cyber <288885044+kadyrbekovhamit-cyber@users.noreply.github.com> Date: Fri, 4 Sep 2026 22:37:41 +0500 Subject: [PATCH] Leave existing tie-to-zero fix to PR 341 --- Sources/IntegerUtilities/RoundingRule.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/IntegerUtilities/RoundingRule.swift b/Sources/IntegerUtilities/RoundingRule.swift index bc4c105..60f0f15 100644 --- a/Sources/IntegerUtilities/RoundingRule.swift +++ b/Sources/IntegerUtilities/RoundingRule.swift @@ -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