Skip to content

Commit 4e141eb

Browse files
committed
v2.2.0
1 parent 74ea246 commit 4e141eb

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Large number arithmetic in Swift.
55
| Package | Swift | iOS | iPadOS | Mac Catalyst | macOS | tvOS | watchOS |
66
|:-------:|:-----:|:----:|:------:|:------------:|:-----:|:----:|:-------:|
77
| 0.6.2 | 5.7 | 13.0 | 13.0 | 13.0 | 10.15 | 13.0 | 6.0 |
8-
| 2.1.0 | 5.8 | 16.4 | 16.4 | 16.4 | 13.3 | 16.4 | 9.4 |
8+
| 2.2.0 | 5.8 | 16.4 | 16.4 | 16.4 | 13.3 | 16.4 | 9.4 |
99

1010
## [ANKFullWidthKit][FUL/D] ([Sources][FUL/S], [Tests][FUL/T], [Benchmarks][FUL/B])
1111

Sources/ANKFoundation/ANKBinaryInteger.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ BinaryInteger, Sendable where Magnitude: ANKUnsignedInteger, Words: Sendable {
7979
/// self < other ? -1 : self == other ? 0 : 1
8080
/// ```
8181
///
82-
/// The return value also be thought of as the ``signum()`` of the difference:
82+
/// The return value can also be thought of as the ``signum()`` of the difference:
8383
///
8484
/// ```swift
8585
/// (self - other).signum() // without errors

Sources/ANKFullWidthKit/ANKFullWidth+Division+Digit.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,15 @@ extension ANKFullWidth where High == High.Magnitude {
9898
}
9999
//=--------------------------------------=
100100
var remainder = UInt()
101-
//=--------------------------------------=
101+
102102
self.withUnsafeMutableWords { SELF in
103103
var index: Int = SELF.endIndex
104104
backwards: while index != SELF.startIndex {
105105
(SELF.formIndex(before: &index))
106106
(SELF[index], remainder) = divisor.dividingFullWidth(HL(remainder, SELF[index]))
107107
}
108108
}
109-
//=--------------------------------------=
109+
110110
return PVO(remainder, false)
111111
}
112112
}

0 commit comments

Comments
 (0)