@@ -167,32 +167,6 @@ final class IntegerUtilitiesShiftTests: XCTestCase {
167167 testRoundingShift ( UInt . self, rounding: . toNearestOrEven)
168168 testRoundingShift ( UInt . self, rounding: . toOdd)
169169 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- }
196170 }
197171
198172 // Stochastic rounding doesn't have a deterministic "expected" answer,
@@ -247,10 +221,6 @@ final class IntegerUtilitiesShiftTests: XCTestCase {
247221 testStochasticAverage ( UInt32 . random ( in: . min ... . max) )
248222 testStochasticAverage ( Int64 . random ( in: . min ... . max) )
249223 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- }
254224 testStochasticAverage ( DoubleWidth< Int64> . random( in: . min ... . max) )
255225 testStochasticAverage ( DoubleWidth< UInt64> . random( in: . min ... . max) )
256226 }
0 commit comments