mirror of
https://github.com/apple/swift-numerics
synced 2026-11-29 05:24:24 +00:00
[BigInt] Add the Words typealias
This commit is contained in:
1 parent
5be3b4e526
commit
d15400e6ab
1 file changed
+4
-1
@@ -10,7 +10,10 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
public struct BigInt: SignedInteger {
|
||||
public private(set) var words: [UInt]
|
||||
|
||||
public typealias Words = [UInt]
|
||||
|
||||
public private(set) var words: Words
|
||||
|
||||
@usableFromInline
|
||||
internal init(words: Words) {
|
||||
|
||||
Reference in new issue
Block a user