Skip to content

Commit abb8998

Browse files
committed
resolve warnings in 5.5 tools build, add skeleton readme for integer utilities
1 parent b6f4c44 commit abb8998

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

Package.swift

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,41 +59,39 @@ let package = Package(
5959
.target(
6060
name: "_TestSupport",
6161
dependencies: ["Numerics"],
62-
exclude: excludedFilenames
62+
exclude: ["CMakeLists.txt"]
6363
),
6464

6565
// MARK: - Unit test bundles
6666
.testTarget(
6767
name: "ComplexTests",
6868
dependencies: ["_TestSupport"],
69-
exclude: excludedFilenames
69+
exclude: ["CMakeLists.txt"]
7070
),
7171

7272
.testTarget(
7373
name: "IntegerUtilitiesTests",
7474
dependencies: ["IntegerUtilities"],
75-
exclude: excludedFilenames
75+
exclude: ["CMakeLists.txt"]
7676
),
7777

7878
.testTarget(
7979
name: "RealTests",
8080
dependencies: ["_TestSupport"],
81-
exclude: excludedFilenames
81+
exclude: ["CMakeLists.txt"]
8282
),
8383

8484
// MARK: - Test executables
8585
.target(
8686
name: "ComplexLog",
8787
dependencies: ["Numerics", "_TestSupport"],
88-
path: "Tests/Executable/ComplexLog",
89-
exclude: excludedFilenames
88+
path: "Tests/Executable/ComplexLog"
9089
),
9190

9291
.target(
9392
name: "ComplexLog1p",
9493
dependencies: ["Numerics", "_TestSupport"],
95-
path: "Tests/Executable/ComplexLog1p",
96-
exclude: excludedFilenames
94+
path: "Tests/Executable/ComplexLog1p"
9795
)
9896
]
9997
)

Sources/IntegerUtilities/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Integer Utilities
2+
3+
## Utilities defined for `BinaryInteger`
4+
5+
The following API are defined for all integer types conforming to `BinaryInteger`:
6+
7+
- The `gcd(_:_:)` free function implements the _Greatest Common Divisor_
8+
operation.
9+
10+
## Utilities defined for `FixedWidthInteger`
11+
12+
- The `rotated(right:)` and `rotated(left:)` methods implement _bitwise
13+
rotation_ for signed and unsigned integer types. The count parameter may
14+
be any `BinaryInteger` type.

0 commit comments

Comments
 (0)