@@ -167,32 +167,6 @@ final class IntegerUtilitiesShiftTests: XCTestCase {
167
167
testRoundingShift ( UInt . self, rounding: . toNearestOrEven)
168
168
testRoundingShift ( UInt . self, rounding: . toOdd)
169
169
testRoundingShift ( UInt . self, rounding: . stochastically)
170
-
171
- if #available( macOS 15 , iOS 18 , tvOS 18 , watchOS 11 , visionOS 2 , * ) {
172
- testRoundingShift ( Int128 . self, rounding: . down)
173
- testRoundingShift ( Int128 . self, rounding: . up)
174
- testRoundingShift ( Int128 . self, rounding: . towardZero)
175
- testRoundingShift ( Int128 . self, rounding: . awayFromZero)
176
- testRoundingShift ( Int128 . self, rounding: . toNearestOrUp)
177
- testRoundingShift ( Int128 . self, rounding: . toNearestOrDown)
178
- testRoundingShift ( Int128 . self, rounding: . toNearestOrZero)
179
- testRoundingShift ( Int128 . self, rounding: . toNearestOrAway)
180
- testRoundingShift ( Int128 . self, rounding: . toNearestOrEven)
181
- testRoundingShift ( Int128 . self, rounding: . toOdd)
182
- testRoundingShift ( Int128 . self, rounding: . stochastically)
183
-
184
- testRoundingShift ( UInt128 . self, rounding: . down)
185
- testRoundingShift ( UInt128 . self, rounding: . up)
186
- testRoundingShift ( UInt128 . self, rounding: . towardZero)
187
- testRoundingShift ( UInt128 . self, rounding: . awayFromZero)
188
- testRoundingShift ( UInt128 . self, rounding: . toNearestOrUp)
189
- testRoundingShift ( UInt128 . self, rounding: . toNearestOrDown)
190
- testRoundingShift ( UInt128 . self, rounding: . toNearestOrZero)
191
- testRoundingShift ( UInt128 . self, rounding: . toNearestOrAway)
192
- testRoundingShift ( UInt128 . self, rounding: . toNearestOrEven)
193
- testRoundingShift ( UInt128 . self, rounding: . toOdd)
194
- testRoundingShift ( UInt128 . self, rounding: . stochastically)
195
- }
196
170
}
197
171
198
172
// Stochastic rounding doesn't have a deterministic "expected" answer,
@@ -247,10 +221,6 @@ final class IntegerUtilitiesShiftTests: XCTestCase {
247
221
testStochasticAverage ( UInt32 . random ( in: . min ... . max) )
248
222
testStochasticAverage ( Int64 . random ( in: . min ... . max) )
249
223
testStochasticAverage ( UInt64 . random ( in: . min ... . max) )
250
- if #available( macOS 15 , iOS 18 , tvOS 18 , watchOS 11 , visionOS 2 , * ) {
251
- testStochasticAverage ( Int128 . random ( in: . min ... . max) )
252
- testStochasticAverage ( UInt128 . random ( in: . min ... . max) )
253
- }
254
224
testStochasticAverage ( DoubleWidth< Int64> . random( in: . min ... . max) )
255
225
testStochasticAverage ( DoubleWidth< UInt64> . random( in: . min ... . max) )
256
226
}
0 commit comments