diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Addition+Digit.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Addition+Digit.swift index a68260fa..6b9eb3f9 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Addition+Digit.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Addition+Digit.swift @@ -13,9 +13,6 @@ import NBKCoreKit // MARK: * NBK x Double Width x Addition x Digit //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Addition.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Addition.swift index e9cba24c..2edbe327 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Addition.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Addition.swift @@ -13,9 +13,6 @@ import NBKCoreKit // MARK: * NBK x Double Width x Addition //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Bits.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Bits.swift index 502551fd..167da9f8 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Bits.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Bits.swift @@ -13,9 +13,6 @@ import NBKCoreKit // MARK: * NBK x Double Width x Bits //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Comparisons.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Comparisons.swift index c05fc564..b3ef7983 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Comparisons.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Comparisons.swift @@ -13,9 +13,6 @@ import NBKCoreKit // MARK: * NBK x Double Width x Comparisons //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Complements.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Complements.swift index 56eac937..4fd3bd0a 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Complements.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Complements.swift @@ -13,9 +13,6 @@ import NBKCoreKit // MARK: * NBK x Double Width x Complements //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Division+Digit.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Division+Digit.swift index db686eed..13c6212a 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Division+Digit.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Division+Digit.swift @@ -13,9 +13,6 @@ import NBKCoreKit // MARK: * NBK x Double Width x Division x Digit //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= @@ -71,9 +68,6 @@ extension NBKDoubleWidth { // MARK: + Unsigned //=----------------------------------------------------------------------------= -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth where High == High.Magnitude { //=------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Division.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Division.swift index 8dbfeb24..6cb22dde 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Division.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Division.swift @@ -13,9 +13,6 @@ import NBKCoreKit // MARK: * NBK x Double Width x Division //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= @@ -117,9 +114,6 @@ extension NBKDoubleWidth { // MARK: + Unsigned //=----------------------------------------------------------------------------= -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth where High == High.Magnitude { //=------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Endianness.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Endianness.swift index 50a5cc19..511fd439 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Endianness.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Endianness.swift @@ -13,9 +13,6 @@ import NBKCoreKit // MARK: * NBK x Double Width x Endianness //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Literals.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Literals.swift index d5563145..3797df84 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Literals.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Literals.swift @@ -13,9 +13,6 @@ import NBKCoreKit // MARK: * NBK x Double Width x Literals //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=-------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Logic.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Logic.swift index aee1cae0..01c0a13b 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Logic.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Logic.swift @@ -13,9 +13,6 @@ import NBKCoreKit // MARK: * NBK x Double Width x Logic //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Multiplication+Digit.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Multiplication+Digit.swift index 4cd3f664..9375d72c 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Multiplication+Digit.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Multiplication+Digit.swift @@ -13,9 +13,6 @@ import NBKCoreKit // MARK: * NBK x Double Width x Multiplication x Digit //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= @@ -75,9 +72,6 @@ extension NBKDoubleWidth { // MARK: * NBK x Double Width x Multiplication x Digit x Unsigned //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth where High == High.Magnitude { //=------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Multiplication.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Multiplication.swift index 8b1d1fc8..dc2f4e64 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Multiplication.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Multiplication.swift @@ -13,9 +13,6 @@ import NBKCoreKit // MARK: * NBK x Double Width x Multiplication //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= @@ -75,9 +72,6 @@ extension NBKDoubleWidth { // MARK: + Unsigned //=----------------------------------------------------------------------------= -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth where High == High.Magnitude { //=------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Numbers.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Numbers.swift index ee1d5334..992f86cc 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Numbers.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Numbers.swift @@ -13,9 +13,6 @@ import NBKCoreKit // MARK: * NBK x Double Width x Numbers //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Rotations.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Rotations.swift index 9c3c5aff..34102b30 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Rotations.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Rotations.swift @@ -13,9 +13,6 @@ import NBKCoreKit // MARK: * NBK x Double Width x Rotations x Left //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= @@ -126,9 +123,6 @@ extension NBKDoubleWidth { // MARK: * NBK x Double Width x Rotations x Right //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Shifts.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Shifts.swift index 156c4f94..d758807e 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Shifts.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Shifts.swift @@ -13,9 +13,6 @@ import NBKCoreKit // MARK: * NBK x Double Width x Shifts x Left //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= @@ -137,9 +134,6 @@ extension NBKDoubleWidth { // MARK: * NBK x Double Width x Shifts x Right //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Strides.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Strides.swift index 5879e08d..e5c28df3 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Strides.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Strides.swift @@ -13,9 +13,6 @@ import NBKCoreKit // MARK: * NBK x Double Width x Strides //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Subtraction+Digit.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Subtraction+Digit.swift index 879e6490..bacfe5c1 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Subtraction+Digit.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Subtraction+Digit.swift @@ -13,9 +13,6 @@ import NBKCoreKit // MARK: * NBK x Double Width x Subtraction x Digit //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Subtraction.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Subtraction.swift index ddb7ad92..73871089 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Subtraction.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Subtraction.swift @@ -13,9 +13,6 @@ import NBKCoreKit // MARK: * NBK x Double Width x Subtraction //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Text.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Text.swift index e2130664..dce1e7d5 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Text.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Text.swift @@ -13,9 +13,6 @@ import NBKCoreKit // MARK: * NBK x Double Width x Text //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= @@ -55,9 +52,6 @@ extension NBKDoubleWidth { // MARK: * NBK x Double Width x Text x Unsigned //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth where High == High.Magnitude { //=------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Uninitialized.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Uninitialized.swift index c6c043fa..10c1aa09 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Uninitialized.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Uninitialized.swift @@ -11,9 +11,6 @@ // MARK: * NBK x Double Width x Uninitialized //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Words+Pointers.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Words+Pointers.swift index ca559921..da1a8c97 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Words+Pointers.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Words+Pointers.swift @@ -13,9 +13,6 @@ import NBKCoreKit // MARK: * NBK x Double Width x Words x Pointers //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Words.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Words.swift index d3dad616..6064f136 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Words.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth+Words.swift @@ -13,9 +13,6 @@ import NBKCoreKit // MARK: * NBK x Double Width x Words //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= @@ -46,9 +43,6 @@ extension NBKDoubleWidth { // MARK: + Collection x Indices //=----------------------------------------------------------------------------= -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= @@ -139,9 +133,6 @@ extension NBKDoubleWidth { // MARK: + Collection x Elements //=----------------------------------------------------------------------------= -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= @@ -275,9 +266,6 @@ extension NBKDoubleWidth { // MARK: + Unsigned //=----------------------------------------------------------------------------= -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth where High == High.Magnitude { //=------------------------------------------------------------------------= diff --git a/Sources/NBKDoubleWidthKit/NBKDoubleWidth.swift b/Sources/NBKDoubleWidthKit/NBKDoubleWidth.swift index aae2cef2..44a99b91 100644 --- a/Sources/NBKDoubleWidthKit/NBKDoubleWidth.swift +++ b/Sources/NBKDoubleWidthKit/NBKDoubleWidth.swift @@ -93,9 +93,6 @@ import NBKCoreKit /// /// - Note: You can use `StaticString` until `StaticBigInt` becomes available. /// -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif @frozen public struct NBKDoubleWidth: ExpressibleByStringLiteral, NBKFixedWidthInteger, MutableCollection, RandomAccessCollection where High: NBKFixedWidthInteger, High.Digit: NBKCoreInteger { @@ -234,14 +231,8 @@ High: NBKFixedWidthInteger, High.Digit: NBKCoreInteger { // MARK: * NBK x Double Width x Conditional Conformances //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth: NBKSignedInteger, SignedInteger, SignedNumeric where High: NBKSignedInteger { } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth: NBKUnsignedInteger, UnsignedInteger /*---------*/ where High: NBKUnsignedInteger { } //*============================================================================* @@ -251,33 +242,17 @@ extension NBKDoubleWidth: NBKUnsignedInteger, UnsignedInteger /*---------*/ whe #if arch(i386) || arch(arm) || arch(arm64_32) || arch(wasm32) || arch(powerpc) /// A signed, 128-bit, integer. -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) public typealias Int128 = NBKDoubleWidth> -#else // because Swift 5.7 cannot parse it otherwise -public typealias Int128 = NBKDoubleWidth> -#endif /// An unsigned, 128-bit, integer. -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) public typealias UInt128 = NBKDoubleWidth> -#else // because Swift 5.7 cannot parse it otherwise -public typealias UInt128 = NBKDoubleWidth> -#endif #elseif arch(x86_64) || arch(arm64) || arch(powerpc64) || arch(powerpc64le) || arch(s390x) /// A signed, 128-bit, integer. -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif public typealias Int128 = NBKDoubleWidth /// An unsigned, 128-bit, integer. -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif public typealias UInt128 = NBKDoubleWidth #else @@ -291,15 +266,9 @@ public typealias UInt128 = NBKDoubleWidth //*============================================================================* /// A signed, 256-bit, integer. -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif public typealias Int256 = NBKDoubleWidth /// An unsigned, 256-bit, integer. -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif public typealias UInt256 = NBKDoubleWidth //*============================================================================* @@ -307,15 +276,9 @@ public typealias UInt256 = NBKDoubleWidth //*============================================================================* /// A signed, 512-bit, integer. -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif public typealias Int512 = NBKDoubleWidth /// An unsigned, 512-bit, integer. -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif public typealias UInt512 = NBKDoubleWidth //*============================================================================* @@ -323,15 +286,9 @@ public typealias UInt512 = NBKDoubleWidth //*============================================================================* /// A signed, 1024-bit, integer. -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif public typealias Int1024 = NBKDoubleWidth /// An unsigned, 1024-bit, integer. -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif public typealias UInt1024 = NBKDoubleWidth //*============================================================================* @@ -339,15 +296,9 @@ public typealias UInt1024 = NBKDoubleWidth //*============================================================================* /// A signed, 2048-bit, integer. -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif public typealias Int2048 = NBKDoubleWidth /// An unsigned, 2048-bit, integer. -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif public typealias UInt2048 = NBKDoubleWidth //*============================================================================* @@ -355,13 +306,7 @@ public typealias UInt2048 = NBKDoubleWidth //*============================================================================* /// A signed, 4096-bit, integer. -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif public typealias Int4096 = NBKDoubleWidth /// An unsigned, 4096-bit, integer. -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif public typealias UInt4096 = NBKDoubleWidth diff --git a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Addition.swift b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Addition.swift index fe1d6f22..aef7af16 100644 --- a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Addition.swift +++ b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Addition.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Addition x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnAdditionAsInt256: XCTestCase { typealias T = Int256 @@ -106,9 +103,6 @@ final class NBKDoubleWidthBenchmarksOnAdditionAsInt256: XCTestCase { // MARK: * NBK x Double Width x Addition x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnAdditionAsUInt256: XCTestCase { typealias T = UInt256 diff --git a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Bits.swift b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Bits.swift index 1f0fc4a6..671b7046 100644 --- a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Bits.swift +++ b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Bits.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Bits x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnBitsAsInt256: XCTestCase { typealias T = Int256 @@ -140,9 +137,6 @@ final class NBKDoubleWidthBenchmarksOnBitsAsInt256: XCTestCase { // MARK: * NBK x Double Width x Bits x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnBitsAsUInt256: XCTestCase { typealias T = UInt256 diff --git a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Comparisons.swift b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Comparisons.swift index 58aa6b62..65346848 100644 --- a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Comparisons.swift +++ b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Comparisons.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Comparisons x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnComparisonsAsInt256: XCTestCase { typealias T = Int256 @@ -129,9 +126,6 @@ final class NBKDoubleWidthBenchmarksOnComparisonsAsInt256: XCTestCase { // MARK: * NBK x Double Width x Comparisons x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnComparisonsAsUInt256: XCTestCase { typealias T = UInt256 diff --git a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Complements.swift b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Complements.swift index e8150fcc..d214d8f9 100644 --- a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Complements.swift +++ b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Complements.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Complements x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnComplementsAsInt256: XCTestCase { typealias T = Int256 @@ -170,9 +167,6 @@ final class NBKDoubleWidthBenchmarksOnComplementsAsInt256: XCTestCase { // MARK: * NBK x Double Width x Complements x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnComplementsAsUInt256: XCTestCase { typealias T = UInt256 diff --git a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Division.swift b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Division.swift index 95f0f2a9..850faacb 100644 --- a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Division.swift +++ b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Division.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Division x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnDivisionAsInt256: XCTestCase { typealias T = Int256 @@ -133,9 +130,6 @@ final class NBKDoubleWidthBenchmarksOnDivisionAsInt256: XCTestCase { // MARK: * NBK x Double Width x Division x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnDivisionAsUInt256: XCTestCase { typealias T = UInt256 diff --git a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Endianness.swift b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Endianness.swift index 433f5f9b..32af8219 100644 --- a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Endianness.swift +++ b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Endianness.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Endianness x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnEndiannessAsInt256: XCTestCase { typealias T = Int256 @@ -63,9 +60,6 @@ final class NBKDoubleWidthBenchmarksOnEndiannessAsInt256: XCTestCase { // MARK: * NBK x Double Width x Endianness x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnEndiannessAsUInt256: XCTestCase { typealias T = UInt256 diff --git a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Logic.swift b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Logic.swift index afa30e0a..c2dd923d 100644 --- a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Logic.swift +++ b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Logic.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Logic x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnLogicAsInt256: XCTestCase { typealias T = Int256 @@ -78,9 +75,6 @@ final class NBKDoubleWidthBenchmarksOnLogicAsInt256: XCTestCase { // MARK: * NBK x Double Width x Logic x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnLogicAsUInt256: XCTestCase { typealias T = UInt256 diff --git a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Multiplication.swift b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Multiplication.swift index 1c5db3ee..1aaa1229 100644 --- a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Multiplication.swift +++ b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Multiplication.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Multiplication x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnMultiplicationAsInt256: XCTestCase { typealias T = Int256 @@ -128,9 +125,6 @@ final class NBKDoubleWidthBenchmarksOnMultiplicationAsInt256: XCTestCase { // MARK: * NBK x Double Width x Multiplication x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnMultiplicationAsUInt256: XCTestCase { typealias T = UInt256 diff --git a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Numbers.swift b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Numbers.swift index 4755f704..0833e3e8 100644 --- a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Numbers.swift +++ b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Numbers.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Numbers x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnNumbersAsInt256: XCTestCase { typealias S = Int256 @@ -432,9 +429,6 @@ final class NBKDoubleWidthBenchmarksOnNumbersAsInt256: XCTestCase { // MARK: * NBK x Double Width x Numbers x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnNumbersAsUInt256: XCTestCase { typealias S = Int256 diff --git a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Random.swift b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Random.swift index 4385125d..5cffc07a 100644 --- a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Random.swift +++ b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Random.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Random x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnRandomAsInt256: XCTestCase { typealias T = Int256 @@ -47,9 +44,6 @@ final class NBKDoubleWidthBenchmarksOnRandomAsInt256: XCTestCase { // MARK: * NBK x Double Width x Random x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnRandomAsUInt256: XCTestCase { typealias T = UInt256 diff --git a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Rotations.swift b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Rotations.swift index 9e0d04b7..3ac6b74b 100644 --- a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Rotations.swift +++ b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Rotations.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Rotations x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnRotationsAsInt256: XCTestCase { typealias T = Int256 @@ -106,9 +103,6 @@ final class NBKDoubleWidthBenchmarksOnRotationsAsInt256: XCTestCase { // MARK: * NBK x Double Width x Rotations x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnRotationsAsUInt256: XCTestCase { typealias T = UInt256 diff --git a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Shifts.swift b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Shifts.swift index c5e8a194..78e4b4bb 100644 --- a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Shifts.swift +++ b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Shifts.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Shifts x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnShiftsAsInt256: XCTestCase { typealias T = Int256 @@ -128,9 +125,6 @@ final class NBKDoubleWidthBenchmarksOnShiftsAsInt256: XCTestCase { // MARK: * NBK x Double Width x Shifts x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnShiftsAsUInt256: XCTestCase { typealias T = UInt256 diff --git a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Strides.swift b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Strides.swift index 42c0fe32..8312d640 100644 --- a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Strides.swift +++ b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Strides.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Strides x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnStridesAsInt256: XCTestCase { typealias T = Int256 @@ -58,9 +55,6 @@ final class NBKDoubleWidthBenchmarksOnStridesAsInt256: XCTestCase { // MARK: * NBK x Double Width x Strides x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnStridesAsUInt256: XCTestCase { typealias T = UInt256 diff --git a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Subtraction.swift b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Subtraction.swift index f7503bbc..130b19d2 100644 --- a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Subtraction.swift +++ b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Subtraction.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Subtraction x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnSubtractionAsInt256: XCTestCase { typealias T = Int256 @@ -106,9 +103,6 @@ final class NBKDoubleWidthBenchmarksOnSubtractionAsInt256: XCTestCase { // MARK: * NBK x Double Width x Subtraction x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnSubtractionAsUInt256: XCTestCase { typealias T = UInt256 diff --git a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Text.swift b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Text.swift index ca0c8d5d..f770f8d1 100644 --- a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Text.swift +++ b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth+Text.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Text x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnTextAsInt256: XCTestCase { typealias T = Int256 @@ -135,9 +132,6 @@ final class NBKDoubleWidthBenchmarksOnTextAsInt256: XCTestCase { // MARK: * NBK x Double Width x Text x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksOnTextAsUInt256: XCTestCase { typealias T = UInt256 diff --git a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth.swift b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth.swift index 77ff9efa..8951c8e9 100644 --- a/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth.swift +++ b/Tests/NBKDoubleWidthKitBenchmarks/NBKDoubleWidth.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksAsInt256: XCTestCase { typealias T = Int256 @@ -50,9 +47,6 @@ final class NBKDoubleWidthBenchmarksAsInt256: XCTestCase { // MARK: * NBK x Double Width x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthBenchmarksAsUInt256: XCTestCase { typealias T = UInt256 @@ -80,9 +74,6 @@ final class NBKDoubleWidthBenchmarksAsUInt256: XCTestCase { // MARK: * NBK x Double Width x Initializers //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------= diff --git a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Addition.swift b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Addition.swift index 2f7644ee..3208215d 100644 --- a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Addition.swift +++ b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Addition.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Addition x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnAdditionAsInt256: XCTestCase { typealias T = Int256 @@ -143,9 +140,6 @@ final class NBKDoubleWidthTestsOnAdditionAsInt256: XCTestCase { // MARK: * NBK x Double Width x Addition x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnAdditionAsUInt256: XCTestCase { typealias T = UInt256 @@ -223,9 +217,6 @@ final class NBKDoubleWidthTestsOnAdditionAsUInt256: XCTestCase { // MARK: * NBK x Double Width x Addition x Assertions //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertAddition( _ lhs: NBKDoubleWidth, _ rhs: NBKDoubleWidth, _ partialValue: NBKDoubleWidth, _ overflow: Bool = false, @@ -246,9 +237,6 @@ file: StaticString = #file, line: UInt = #line) { XCTAssertEqual({ var x = lhs; let o = x.addReportingOverflow(rhs); return o }(), overflow, file: file, line: line) } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertAdditionByDigit( _ lhs: NBKDoubleWidth, _ rhs: NBKDoubleWidth.Digit, _ partialValue: NBKDoubleWidth, _ overflow: Bool = false, diff --git a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Bits.swift b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Bits.swift index f21a2bee..bdb64959 100644 --- a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Bits.swift +++ b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Bits.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Bits x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnBitsAsInt256: XCTestCase { typealias T = Int256 @@ -97,9 +94,6 @@ final class NBKDoubleWidthTestsOnBitsAsInt256: XCTestCase { // MARK: * NBK x Double Width x Bits x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnBitsAsUInt256: XCTestCase { typealias T = UInt256 diff --git a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Comparisons.swift b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Comparisons.swift index 6cfed07b..4a616b85 100644 --- a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Comparisons.swift +++ b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Comparisons.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Comparisons x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnComparisonsAsInt256: XCTestCase { typealias T = Int256 @@ -221,9 +218,6 @@ final class NBKDoubleWidthTestsOnComparisonsAsInt256: XCTestCase { // MARK: * NBK x Double Width x Comparisons x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnComparisonsAsUInt256: XCTestCase { typealias T = UInt256 @@ -384,9 +378,6 @@ final class NBKDoubleWidthTestsOnComparisonsAsUInt256: XCTestCase { // MARK: * NBK x Double Width x Comparisons x Assertions //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertSignum( _ operand: NBKDoubleWidth, _ signum: Int, file: StaticString = #file, line: UInt = #line) { @@ -396,9 +387,6 @@ file: StaticString = #file, line: UInt = #line) { XCTAssertEqual(Int(operand.signum() as T ), signum, file: file, line: line) // stdlib } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertComparisons( _ lhs: NBKDoubleWidth, _ rhs: NBKDoubleWidth, _ signum: Int, file: StaticString = #file, line: UInt = #line) { @@ -414,9 +402,6 @@ file: StaticString = #file, line: UInt = #line) { XCTAssertEqual(lhs.compared(to: rhs), signum, file: file, line: line) } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertComparisonsByDigit( _ lhs: NBKDoubleWidth, _ rhs: NBKDoubleWidth.Digit, _ signum: Int, file: StaticString = #file, line: UInt = #line) { diff --git a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Complements.swift b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Complements.swift index a10bc69a..7e567a38 100644 --- a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Complements.swift +++ b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Complements.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Complements x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnComplementsAsInt256: XCTestCase { typealias T = Int256 @@ -104,9 +101,6 @@ final class NBKDoubleWidthTestsOnComplementsAsInt256: XCTestCase { // MARK: * NBK x Double Width x Complements x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnComplementsAsUInt256: XCTestCase { typealias T = UInt256 @@ -167,9 +161,6 @@ final class NBKDoubleWidthTestsOnComplementsAsUInt256: XCTestCase { // MARK: * NBK x Double Width x Complements x Assertions //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertBitPattern( _ integer: NBKDoubleWidth, _ bitPattern: NBKDoubleWidth.BitPattern, file: StaticString = #file, line: UInt = #line) { @@ -182,9 +173,6 @@ file: StaticString = #file, line: UInt = #line) { XCTAssertEqual(B(bitPattern: integer), bitPattern, file: file, line: line) } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertBitPattern( _ integer: T, _ bitPattern: T.BitPattern, file: StaticString = #file, line: UInt = #line) where T.BitPattern: Equatable { @@ -194,9 +182,6 @@ file: StaticString = #file, line: UInt = #line) where T.BitPattern: Equatable { XCTAssertEqual(T.BitPattern(bitPattern: integer), bitPattern, file: file, line: line) } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertOnesComplement( _ integer: NBKDoubleWidth, _ result: NBKDoubleWidth, file: StaticString = #file, line: UInt = #line) { @@ -207,9 +192,6 @@ file: StaticString = #file, line: UInt = #line) { XCTAssertEqual({ var x = integer; let _ = x.formTwosComplementSubsequence(false); return x }(), result, file: file, line: line) } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertTwosComplement( _ integer: NBKDoubleWidth, _ partialValue: NBKDoubleWidth, _ overflow: Bool = false, file: StaticString = #file, line: UInt = #line) { @@ -226,9 +208,6 @@ file: StaticString = #file, line: UInt = #line) { XCTAssertEqual({ var x = integer; let o = x.formTwosComplementSubsequence(true ); return o }(), overflow, file: file, line: line) } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertAdditiveInverse( _ operand: NBKDoubleWidth, _ partialValue: NBKDoubleWidth, _ overflow: Bool = false, file: StaticString = #file, line: UInt = #line) { diff --git a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Division.swift b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Division.swift index 7a42a055..6ce50303 100644 --- a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Division.swift +++ b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Division.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Division x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnDivisionAsInt256: XCTestCase { typealias T = Int256 @@ -226,9 +223,6 @@ final class NBKDoubleWidthTestsOnDivisionAsInt256: XCTestCase { // MARK: * NBK x Double Width x Division x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnDivisionAsUInt256: XCTestCase { typealias T = UInt256 @@ -382,9 +376,6 @@ final class NBKDoubleWidthTestsOnDivisionAsUInt256: XCTestCase { // MARK: * NBK x Double Width x Division x UInt256 x Code Coverage //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnDivisionAsUInt256CodeCoverage: XCTestCase { typealias T = UInt256 @@ -413,9 +404,6 @@ final class NBKDoubleWidthTestsOnDivisionAsUInt256CodeCoverage: XCTestCase { // MARK: * NBK x Double Width x Division x Assertions //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertDivision( _ lhs: NBKDoubleWidth, _ rhs: NBKDoubleWidth, _ quotient: NBKDoubleWidth, _ remainder: NBKDoubleWidth, _ overflow: Bool = false, @@ -453,9 +441,6 @@ file: StaticString = #file, line: UInt = #line) { XCTAssertEqual(lhs.quotientAndRemainderReportingOverflow(dividingBy: rhs).overflow, overflow, file: file, line: line) } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertDivisionByDigit( _ lhs: NBKDoubleWidth, _ rhs: NBKDoubleWidth.Digit, _ quotient: NBKDoubleWidth, _ remainder: NBKDoubleWidth.Digit, _ overflow: Bool = false, @@ -498,9 +483,6 @@ file: StaticString = #file, line: UInt = #line) { // MARK: + Full Width //=----------------------------------------------------------------------------= -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertDivisionFullWidth( _ lhs: HL, NBKDoubleWidth.Magnitude>, _ rhs: NBKDoubleWidth, _ quotient: NBKDoubleWidth, _ remainder: NBKDoubleWidth, _ overflow: Bool = false, diff --git a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Endianness.swift b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Endianness.swift index 2b6d5296..caa415b3 100644 --- a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Endianness.swift +++ b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Endianness.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Endianness x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnEndiannessAsInt256: XCTestCase { typealias T = Int256 @@ -69,9 +66,6 @@ final class NBKDoubleWidthTestsOnEndiannessAsInt256: XCTestCase { // MARK: * NBK x Double Width x Endianness x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnEndiannessAsUInt256: XCTestCase { typealias T = UInt256 diff --git a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Literals.swift b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Literals.swift index df68f5f1..c6692e24 100644 --- a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Literals.swift +++ b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Literals.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Literals x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnLiteralsAsInt256: XCTestCase { typealias T = Int256 @@ -78,9 +75,6 @@ final class NBKDoubleWidthTestsOnLiteralsAsInt256: XCTestCase { // MARK: * NBK x Double Width x Literals x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnLiteralsAsUInt256: XCTestCase { typealias T = UInt256 diff --git a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Logic.swift b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Logic.swift index 7de05765..9d896a82 100644 --- a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Logic.swift +++ b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Logic.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Logic x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnLogicAsInt256: XCTestCase { typealias T = Int256 @@ -74,9 +71,6 @@ final class NBKDoubleWidthTestsOnLogicAsInt256: XCTestCase { // MARK: * NBK x Double Width x Logic x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnLogicAsUInt256: XCTestCase { typealias T = UInt256 @@ -128,9 +122,6 @@ final class NBKDoubleWidthTestsOnLogicAsUInt256: XCTestCase { // MARK: * NBK x Double Width x Logic x Assertions //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertNot( _ operand: NBKDoubleWidth, _ result: NBKDoubleWidth, file: StaticString = #file, line: UInt = #line) { @@ -144,9 +135,6 @@ file: StaticString = #file, line: UInt = #line) { XCTAssertEqual({ var x = result; x.formOnesComplement(); return x }(), operand, file: file, line: line) } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertAnd( _ lhs: NBKDoubleWidth, _ rhs: NBKDoubleWidth, _ result: NBKDoubleWidth, file: StaticString = #file, line: UInt = #line) { @@ -156,9 +144,6 @@ file: StaticString = #file, line: UInt = #line) { XCTAssertEqual({ var rhs = rhs; rhs &= lhs; return rhs }(), result, file: file, line: line) } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertOr( _ lhs: NBKDoubleWidth, _ rhs: NBKDoubleWidth, _ result: NBKDoubleWidth, file: StaticString = #file, line: UInt = #line) { @@ -168,9 +153,6 @@ file: StaticString = #file, line: UInt = #line) { XCTAssertEqual({ var rhs = rhs; rhs |= lhs; return rhs }(), result, file: file, line: line) } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertXor( _ lhs: NBKDoubleWidth, _ rhs: NBKDoubleWidth, _ result: NBKDoubleWidth, file: StaticString = #file, line: UInt = #line) { diff --git a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Multiplication.swift b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Multiplication.swift index f6107870..415b9050 100644 --- a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Multiplication.swift +++ b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Multiplication.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Multiplication x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnMultiplicationAsInt256: XCTestCase { typealias T = Int256 @@ -157,9 +154,6 @@ final class NBKDoubleWidthTestsOnMultiplicationAsInt256: XCTestCase { // MARK: * NBK x Double Width x Multiplication x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnMultiplicationAsUInt256: XCTestCase { typealias T = UInt256 @@ -252,9 +246,6 @@ final class NBKDoubleWidthTestsOnMultiplicationAsUInt256: XCTestCase { // MARK: * NBK x Double Width x Multiplication x Assertions //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertMultiplication( _ lhs: NBKDoubleWidth, _ rhs: NBKDoubleWidth, _ low: NBKDoubleWidth, _ high: NBKDoubleWidth? = nil, _ overflow: Bool = false, @@ -284,9 +275,6 @@ file: StaticString = #file, line: UInt = #line) { XCTAssertEqual({ var x = lhs; let o = x.multiplyFullWidth(by: rhs); return o }(), high, file: file, line: line) } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertMultiplicationByDigit( _ lhs: NBKDoubleWidth, _ rhs: NBKDoubleWidth.Digit, _ low: NBKDoubleWidth, _ high: NBKDoubleWidth.Digit? = nil, _ overflow: Bool = false, @@ -316,9 +304,6 @@ file: StaticString = #file, line: UInt = #line) { XCTAssertEqual({ var x = lhs; let o = x.multiplyFullWidth(by: rhs); return o }(), high, file: file, line: line) } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertMultiplicationByDigitWithAddition( _ lhs: NBKDoubleWidth, _ rhs: UInt, _ carry: UInt, _ low: NBKDoubleWidth, _ high: UInt, _ overflow: Bool = false, diff --git a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Numbers.swift b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Numbers.swift index 639bd071..8c7246c5 100644 --- a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Numbers.swift +++ b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Numbers.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Numbers x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnNumbersAsInt256: XCTestCase { typealias S = Int256 @@ -281,9 +278,6 @@ final class NBKDoubleWidthTestsOnNumbersAsInt256: XCTestCase { // MARK: * NBK x Double Width x Numbers x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnNumbersAsUInt256: XCTestCase { typealias S = Int256 @@ -527,45 +521,30 @@ final class NBKDoubleWidthTestsOnNumbersAsUInt256: XCTestCase { // MARK: * NBK x Double Width x Numbers x Assertions //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertNumbers( from value: I, default: O, file: StaticString = #file, line: UInt = #line) { NBKAssertNumbers(from: value, exactly: `default`, clamping: `default`, truncating: `default`, file: file, line: line) } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertNumbers( from value: I, default: O, exactly: O?, file: StaticString = #file, line: UInt = #line) { NBKAssertNumbers(from: value, exactly: exactly, clamping: `default`, truncating: `default`, file: file, line: line) } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertNumbers( from value: I, default: O, clamping: O, file: StaticString = #file, line: UInt = #line) { NBKAssertNumbers(from: value, exactly: `default`, clamping: clamping, truncating: `default`, file: file, line: line) } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertNumbers( from value: I, default: O, truncating: O, file: StaticString = #file, line: UInt = #line) { NBKAssertNumbers(from: value, exactly: `default`, clamping: `default`, truncating: truncating, file: file, line: line) } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertNumbers( from value: I, exactly: O?, clamping: O, truncating: O, file: StaticString = #file, line: UInt = #line) { diff --git a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Rotations.swift b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Rotations.swift index bf49c48a..2f79641e 100644 --- a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Rotations.swift +++ b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Rotations.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Rotations x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnRotationsAsInt256: XCTestCase { typealias T = Int256 @@ -96,9 +93,6 @@ final class NBKDoubleWidthTestsOnRotationsAsInt256: XCTestCase { // MARK: * NBK x Double Width x Rotations x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnRotationsAsUInt256: XCTestCase { typealias T = UInt256 @@ -172,9 +166,6 @@ final class NBKDoubleWidthTestsOnRotationsAsUInt256: XCTestCase { // MARK: * NBK x Double Width x Rotations x Assertions //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertRotateLeft( _ lhs: NBKDoubleWidth, _ rhs: Int, _ result: NBKDoubleWidth, file: StaticString = #file, line: UInt = #line) { @@ -197,9 +188,6 @@ file: StaticString = #file, line: UInt = #line) { } } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertRotateRight( _ lhs: NBKDoubleWidth, _ rhs: Int, _ result: NBKDoubleWidth, file: StaticString = #file, line: UInt = #line) { diff --git a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Shifts.swift b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Shifts.swift index ca3f815f..001d12ca 100644 --- a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Shifts.swift +++ b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Shifts.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Shifts x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnShiftsAsInt256: XCTestCase { typealias S = Int256 @@ -146,9 +143,6 @@ final class NBKDoubleWidthTestsOnShiftsAsInt256: XCTestCase { // MARK: * NBK x Double Width x Shifts x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnShiftsAsUInt256: XCTestCase { typealias S = Int256 @@ -272,9 +266,6 @@ final class NBKDoubleWidthTestsOnShiftsAsUInt256: XCTestCase { // MARK: * NBK x Double Width x Shifts x Assertions //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertShiftLeft( _ lhs: NBKDoubleWidth, _ rhs: Int, _ result: NBKDoubleWidth, file: StaticString = #file, line: UInt = #line) { @@ -312,9 +303,6 @@ file: StaticString = #file, line: UInt = #line) { } } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertShiftRight( _ lhs: NBKDoubleWidth, _ rhs: Int, _ result: NBKDoubleWidth, file: StaticString = #file, line: UInt = #line) { @@ -356,9 +344,6 @@ file: StaticString = #file, line: UInt = #line) { // MARK: + Masking //=----------------------------------------------------------------------------= -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertShiftLeftByMasking( _ lhs: NBKDoubleWidth, _ rhs: Int, _ result: NBKDoubleWidth, signitude: S.Type, file: StaticString = #file, line: UInt = #line) where S.Digit: NBKCoreInteger { @@ -398,9 +383,6 @@ file: StaticString = #file, line: UInt = #line) where S.Digit: NBKCoreInteger=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertShiftRightByMasking( _ lhs: NBKDoubleWidth, _ rhs: Int, _ result: NBKDoubleWidth, signitude: S.Type, file: StaticString = #file, line: UInt = #line) where S.Digit: NBKCoreInteger { diff --git a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Strides.swift b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Strides.swift index 2046dd0c..812c386d 100644 --- a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Strides.swift +++ b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Strides.swift @@ -20,9 +20,6 @@ private typealias Y = [UInt64] // MARK: * NBK x Double Width x Strides x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnStridesAsInt256: XCTestCase { typealias T = Int256 @@ -54,9 +51,6 @@ final class NBKDoubleWidthTestsOnStridesAsInt256: XCTestCase { // MARK: * NBK x Double Width x Strides x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnStridesAsUInt256: XCTestCase { typealias T = UInt256 diff --git a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Subtraction.swift b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Subtraction.swift index 9b730a74..6cf226f1 100644 --- a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Subtraction.swift +++ b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Subtraction.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Subtraction x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnSubtractionAsInt256: XCTestCase { typealias T = Int256 @@ -143,9 +140,6 @@ final class NBKDoubleWidthTestsOnSubtractionAsInt256: XCTestCase { // MARK: * NBK x Double Width x Subtraction x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnSubtractionAsUInt256: XCTestCase { typealias T = UInt256 @@ -217,9 +211,6 @@ final class NBKDoubleWidthTestsOnSubtractionAsUInt256: XCTestCase { // MARK: * NBK x Double Width x Subtraction x Assertions //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertSubtraction( _ lhs: NBKDoubleWidth, _ rhs: NBKDoubleWidth, _ partialValue: NBKDoubleWidth, _ overflow: Bool = false, @@ -240,9 +231,6 @@ file: StaticString = #file, line: UInt = #line) { XCTAssertEqual({ var x = lhs; let o = x.subtractReportingOverflow(rhs); return o }(), overflow, file: file, line: line) } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertSubtractionByDigit( _ lhs: NBKDoubleWidth, _ rhs: NBKDoubleWidth.Digit, _ partialValue: NBKDoubleWidth, _ overflow: Bool = false, diff --git a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Text.swift b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Text.swift index d1869e5d..4806f3f8 100644 --- a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Text.swift +++ b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Text.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Text x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnTextAsInt256: XCTestCase { typealias T = Int256 @@ -261,9 +258,6 @@ final class NBKDoubleWidthTestsOnTextAsInt256: XCTestCase { // MARK: * NBK x Double Width x Text x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnTextAsUInt256: XCTestCase { typealias T = UInt256 @@ -482,9 +476,6 @@ final class NBKDoubleWidthTestsOnTextAsUInt256: XCTestCase { // MARK: * NBK x Double Width x Text x Assertions //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertFromDescription( _ integer: NBKDoubleWidth?, _ description: String, file: StaticString = #file, line: UInt = #line) { @@ -494,9 +485,6 @@ file: StaticString = #file, line: UInt = #line) { XCTAssertEqual(T(description, radix: 10), integer, file: file, line: line) } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertDecodeText( _ integer: NBKDoubleWidth?, _ radix: Int, _ text: String, file: StaticString = #file, line: UInt = #line) { @@ -509,9 +497,6 @@ file: StaticString = #file, line: UInt = #line) { XCTAssertEqual(T(text, radix: radix), integer, file: file, line: line) } -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertEncodeText( _ integer: NBKDoubleWidth, _ radix: Int, _ uppercase: Bool, _ text: String, file: StaticString = #file, line: UInt = #line) { diff --git a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Words.swift b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Words.swift index 30b8ca29..b438f783 100644 --- a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Words.swift +++ b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth+Words.swift @@ -20,9 +20,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width x Words x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnWordsAsInt256: XCTestCase { typealias T = Int256 @@ -102,9 +99,6 @@ final class NBKDoubleWidthTestsOnWordsAsInt256: XCTestCase { // MARK: * NBK x Double Width x Words x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsOnWordsAsUInt256: XCTestCase { typealias T = UInt256 @@ -184,9 +178,6 @@ final class NBKDoubleWidthTestsOnWordsAsUInt256: XCTestCase { // MARK: * NBK x Double Width x Words x Assertions //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertWords( _ integer: NBKDoubleWidth, _ words: [UInt], file: StaticString = #file, line: UInt = #line) { @@ -213,9 +204,6 @@ file: StaticString = #file, line: UInt = #line) { // MARK: + Indices //=----------------------------------------------------------------------------= -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertIndexOffsetByLimitedBy( _ integer: NBKDoubleWidth, _ index: Int, _ distance: Int, _ limit: Int, _ expectation: Int?, file: StaticString = #file, line: UInt = #line) { @@ -230,9 +218,6 @@ file: StaticString = #file, line: UInt = #line) { // MARK: + Elements x First, Last, Tail //=----------------------------------------------------------------------------= -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertFirstLastTail( _ integer: NBKDoubleWidth, first: UInt, last: UInt, tail: H.Digit, file: StaticString = #file, line: UInt = #line) { diff --git a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth.swift b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth.swift index d77291d4..4cf97474 100644 --- a/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth.swift +++ b/Tests/NBKDoubleWidthKitTests/NBKDoubleWidth.swift @@ -18,9 +18,6 @@ private typealias Y = NBK.U256X32 // MARK: * NBK x Double Width //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTests: XCTestCase { typealias T = any NBKFixedWidthInteger.Type @@ -62,9 +59,6 @@ final class NBKDoubleWidthTests: XCTestCase { // MARK: * NBK x Double Width x Int256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsAsInt256: XCTestCase { typealias T = Int256 @@ -108,9 +102,6 @@ final class NBKDoubleWidthTestsAsInt256: XCTestCase { // MARK: * NBK x Double Width x UInt256 //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif final class NBKDoubleWidthTestsAsUInt256: XCTestCase { typealias T = UInt256 @@ -154,9 +145,6 @@ final class NBKDoubleWidthTestsAsUInt256: XCTestCase { // MARK: * NBK x Double Width x Assertions //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif private func NBKAssertHalvesGetSetInit( _ value: NBKDoubleWidth, _ low: H.Magnitude, _ high: H, file: StaticString = #file, line: UInt = #line) { @@ -194,9 +182,6 @@ file: StaticString = #file, line: UInt = #line) { // MARK: * NBK x Double Width x Initializers //*============================================================================* -#if SBI && swift(>=5.8) -@available(iOS 16.4, macCatalyst 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4, *) -#endif extension NBKDoubleWidth { //=------------------------------------------------------------------------=