Skip to content

Instantly share code, notes, and snippets.

@Higher08
Created November 30, 2021 08:17
Show Gist options
  • Save Higher08/ec6b991914be1123131bb9c93e0a87f0 to your computer and use it in GitHub Desktop.
Save Higher08/ec6b991914be1123131bb9c93e0a87f0 to your computer and use it in GitHub Desktop.
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/RationalArithmetic.swift:25:3: note: protocol requires initializer 'init(_:)' with type 'FloatMax' (aka 'Float80')
init(_ floatingPoint: FloatMax)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:212:1: error: type 'CGFloat' does not conform to protocol 'RationalArithmetic'
extension CGFloat: FloatFamily {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:222:21: note: candidate has non-matching type 'IntMax' (aka 'Int64')
@inlinable public init(_ int: IntMax) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:228:21: note: candidate has non-matching type 'String'
@inlinable public init?(_ description: String) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:290:21: note: candidate has non-matching type 'UIntMax' (aka 'UInt64')
@inlinable public init(_ uInt: UIntMax) {
^
Foundation.CGFloat:4:12: note: candidate has non-matching type 'Float'
public init(_ value: Float)
^
Foundation.CGFloat:5:12: note: candidate has non-matching type 'Double'
public init(_ value: Double)
^
Foundation.CGFloat:6:12: note: candidate has non-matching type 'CGFloat'
public init(_ value: CGFloat)
^
Foundation.CGFloat:7:12: note: candidate has non-matching type 'UInt8'
public init(_ value: UInt8)
^
Foundation.CGFloat:8:12: note: candidate has non-matching type 'Int8'
public init(_ value: Int8)
^
Foundation.CGFloat:9:12: note: candidate has non-matching type 'UInt16'
public init(_ value: UInt16)
^
Foundation.CGFloat:10:12: note: candidate has non-matching type 'Int16'
public init(_ value: Int16)
^
Foundation.CGFloat:11:12: note: candidate has non-matching type 'UInt32'
public init(_ value: UInt32)
^
Foundation.CGFloat:12:12: note: candidate has non-matching type 'Int32'
public init(_ value: Int32)
^
Foundation.CGFloat:15:12: note: candidate has non-matching type 'UInt'
public init(_ value: UInt)
^
Foundation.CGFloat:16:12: note: candidate has non-matching type 'Int'
public init(_ value: Int)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/WholeArithmetic.swift:210:21: note: candidate has non-matching type 'U'
@inlinable public init<U: UIntFamily>(_ uInt: U) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/IntegralArithmetic.swift:33:21: note: candidate has non-matching type 'I'
@inlinable public init<I: IntFamily>(_ int: I) {
^
Swift.BinaryFloatingPoint:5:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryFloatingPoint
^
Swift.BinaryFloatingPoint:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/RationalArithmetic.swift:25:3: note: protocol requires initializer 'init(_:)' with type 'FloatMax' (aka 'Float80')
init(_ floatingPoint: FloatMax)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:338:1: error: type 'Float' does not conform to protocol 'RationalArithmetic'
extension Float: FloatFamily {
^
Swift.Float:4:12: note: candidate has non-matching type 'Builtin.FPIEEE32'
public init(_ _value: Builtin.FPIEEE32)
^
Swift.Float:2:23: note: candidate has non-matching type 'S'
@inlinable public init?<S>(_ text: S) where S : StringProtocol
^
Swift.Float:4:12: note: candidate has non-matching type 'Substring'
public init?(_ text: Substring)
^
Swift.Float:2:12: note: candidate has non-matching type 'Int'
public init(_ v: Int)
^
Swift.Float:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
Swift.Float:6:23: note: candidate has non-matching type 'Float16'
@inlinable public init(_ other: Float16)
^
Swift.Float:9:23: note: candidate has non-matching type 'Float'
@inlinable public init(_ other: Float)
^
Swift.Float:11:23: note: candidate has non-matching type 'Double'
@inlinable public init(_ other: Double)
^
Foundation.Float:2:12: note: candidate has non-matching type 'CGFloat'
public init(_ value: CGFloat)
^
Foundation.Float:3:12: note: candidate has non-matching type 'NSNumber'
public init(_ number: NSNumber)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/WholeArithmetic.swift:210:21: note: candidate has non-matching type 'U'
@inlinable public init<U: UIntFamily>(_ uInt: U) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/IntegralArithmetic.swift:33:21: note: candidate has non-matching type 'I'
@inlinable public init<I: IntFamily>(_ int: I) {
^
Swift.BinaryFloatingPoint:5:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryFloatingPoint
^
Swift.BinaryFloatingPoint:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/RationalArithmetic.swift:25:3: note: protocol requires initializer 'init(_:)' with type 'FloatMax' (aka 'Float80')
init(_ floatingPoint: FloatMax)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:359:3: error: type 'Float16' does not conform to protocol 'RationalArithmetic'
extension Float16: FloatFamily {
^
Swift.Float16:5:12: note: candidate has non-matching type 'Builtin.FPIEEE16'
public init(_ _value: Builtin.FPIEEE16)
^
Swift.Float16:3:23: note: candidate has non-matching type 'S'
@inlinable public init?<S>(_ text: S) where S : StringProtocol
^
Swift.Float16:5:12: note: candidate has non-matching type 'Substring'
public init?(_ text: Substring)
^
Swift.Float16:3:12: note: candidate has non-matching type 'Int'
public init(_ v: Int)
^
Swift.Float16:4:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
Swift.Float16:7:23: note: candidate has non-matching type 'Float16'
@inlinable public init(_ other: Float16)
^
Swift.Float16:10:23: note: candidate has non-matching type 'Float'
@inlinable public init(_ other: Float)
^
Swift.Float16:12:23: note: candidate has non-matching type 'Double'
@inlinable public init(_ other: Double)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/WholeArithmetic.swift:210:21: note: candidate has non-matching type 'U'
@inlinable public init<U: UIntFamily>(_ uInt: U) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/IntegralArithmetic.swift:33:21: note: candidate has non-matching type 'I'
@inlinable public init<I: IntFamily>(_ int: I) {
^
Swift.BinaryFloatingPoint:5:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryFloatingPoint
^
Swift.BinaryFloatingPoint:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/RationalArithmetic.swift:25:3: note: protocol requires initializer 'init(_:)' with type 'FloatMax' (aka 'Float80')
init(_ floatingPoint: FloatMax)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:208:21: error: argument passed to call that takes no arguments
return FloatMax(self)
^~~~
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:285:21: error: argument passed to call that takes no arguments
return FloatMax(NativeType(self))
^~~~~~~~~~~~~~~~
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:353:21: error: argument passed to call that takes no arguments
return FloatMax(self)
^~~~
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:374:23: error: argument passed to call that takes no arguments
return FloatMax(self)
^~~~
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:29:31: error: 'Float80' is unavailable: Float80 is not available on target platform.
public typealias FloatMax = Float80
^~~~~~~
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
@frozen public struct Float80 {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:193:1: error: type 'Double' does not conform to protocol 'RationalArithmetic'
extension Double: FloatFamily {
^
Swift.Double:4:12: note: candidate has non-matching type 'Builtin.FPIEEE64'
public init(_ _value: Builtin.FPIEEE64)
^
Swift.Double:2:23: note: candidate has non-matching type 'S'
@inlinable public init?<S>(_ text: S) where S : StringProtocol
^
Swift.Double:4:12: note: candidate has non-matching type 'Substring'
public init?(_ text: Substring)
^
Swift.Double:2:12: note: candidate has non-matching type 'Int'
public init(_ v: Int)
^
Swift.Double:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
Swift.Double:6:23: note: candidate has non-matching type 'Float16'
@inlinable public init(_ other: Float16)
^
Swift.Double:9:23: note: candidate has non-matching type 'Float'
@inlinable public init(_ other: Float)
^
Swift.Double:11:23: note: candidate has non-matching type 'Double'
@inlinable public init(_ other: Double)
^
Foundation.Double:2:12: note: candidate has non-matching type 'CGFloat'
public init(_ value: CGFloat)
^
Foundation.Double:3:12: note: candidate has non-matching type 'NSNumber'
public init(_ number: NSNumber)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/WholeArithmetic.swift:210:21: note: candidate has non-matching type 'U'
@inlinable public init<U: UIntFamily>(_ uInt: U) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/IntegralArithmetic.swift:33:21: note: candidate has non-matching type 'I'
@inlinable public init<I: IntFamily>(_ int: I) {
^
Swift.BinaryFloatingPoint:5:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryFloatingPoint
^
Swift.BinaryFloatingPoint:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/RationalArithmetic.swift:25:3: note: protocol requires initializer 'init(_:)' with type 'FloatMax' (aka 'Float80')
init(_ floatingPoint: FloatMax)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:212:1: error: type 'CGFloat' does not conform to protocol 'RationalArithmetic'
extension CGFloat: FloatFamily {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:222:21: note: candidate has non-matching type 'IntMax' (aka 'Int64')
@inlinable public init(_ int: IntMax) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:228:21: note: candidate has non-matching type 'String'
@inlinable public init?(_ description: String) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:290:21: note: candidate has non-matching type 'UIntMax' (aka 'UInt64')
@inlinable public init(_ uInt: UIntMax) {
^
Foundation.CGFloat:4:12: note: candidate has non-matching type 'Float'
public init(_ value: Float)
^
Foundation.CGFloat:5:12: note: candidate has non-matching type 'Double'
public init(_ value: Double)
^
Foundation.CGFloat:6:12: note: candidate has non-matching type 'CGFloat'
public init(_ value: CGFloat)
^
Foundation.CGFloat:7:12: note: candidate has non-matching type 'UInt8'
public init(_ value: UInt8)
^
Foundation.CGFloat:8:12: note: candidate has non-matching type 'Int8'
public init(_ value: Int8)
^
Foundation.CGFloat:9:12: note: candidate has non-matching type 'UInt16'
public init(_ value: UInt16)
^
Foundation.CGFloat:10:12: note: candidate has non-matching type 'Int16'
public init(_ value: Int16)
^
Foundation.CGFloat:11:12: note: candidate has non-matching type 'UInt32'
public init(_ value: UInt32)
^
Foundation.CGFloat:12:12: note: candidate has non-matching type 'Int32'
public init(_ value: Int32)
^
Foundation.CGFloat:15:12: note: candidate has non-matching type 'UInt'
public init(_ value: UInt)
^
Foundation.CGFloat:16:12: note: candidate has non-matching type 'Int'
public init(_ value: Int)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/WholeArithmetic.swift:210:21: note: candidate has non-matching type 'U'
@inlinable public init<U: UIntFamily>(_ uInt: U) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/IntegralArithmetic.swift:33:21: note: candidate has non-matching type 'I'
@inlinable public init<I: IntFamily>(_ int: I) {
^
Swift.BinaryFloatingPoint:5:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryFloatingPoint
^
Swift.BinaryFloatingPoint:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/RationalArithmetic.swift:25:3: note: protocol requires initializer 'init(_:)' with type 'FloatMax' (aka 'Float80')
init(_ floatingPoint: FloatMax)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:338:1: error: type 'Float' does not conform to protocol 'RationalArithmetic'
extension Float: FloatFamily {
^
Swift.Float:4:12: note: candidate has non-matching type 'Builtin.FPIEEE32'
public init(_ _value: Builtin.FPIEEE32)
^
Swift.Float:2:23: note: candidate has non-matching type 'S'
@inlinable public init?<S>(_ text: S) where S : StringProtocol
^
Swift.Float:4:12: note: candidate has non-matching type 'Substring'
public init?(_ text: Substring)
^
Swift.Float:2:12: note: candidate has non-matching type 'Int'
public init(_ v: Int)
^
Swift.Float:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
Swift.Float:6:23: note: candidate has non-matching type 'Float16'
@inlinable public init(_ other: Float16)
^
Swift.Float:9:23: note: candidate has non-matching type 'Float'
@inlinable public init(_ other: Float)
^
Swift.Float:11:23: note: candidate has non-matching type 'Double'
@inlinable public init(_ other: Double)
^
Foundation.Float:2:12: note: candidate has non-matching type 'CGFloat'
public init(_ value: CGFloat)
^
Foundation.Float:3:12: note: candidate has non-matching type 'NSNumber'
public init(_ number: NSNumber)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/WholeArithmetic.swift:210:21: note: candidate has non-matching type 'U'
@inlinable public init<U: UIntFamily>(_ uInt: U) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/IntegralArithmetic.swift:33:21: note: candidate has non-matching type 'I'
@inlinable public init<I: IntFamily>(_ int: I) {
^
Swift.BinaryFloatingPoint:5:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryFloatingPoint
^
Swift.BinaryFloatingPoint:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/RationalArithmetic.swift:25:3: note: protocol requires initializer 'init(_:)' with type 'FloatMax' (aka 'Float80')
init(_ floatingPoint: FloatMax)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:359:3: error: type 'Float16' does not conform to protocol 'RationalArithmetic'
extension Float16: FloatFamily {
^
Swift.Float16:5:12: note: candidate has non-matching type 'Builtin.FPIEEE16'
public init(_ _value: Builtin.FPIEEE16)
^
Swift.Float16:3:23: note: candidate has non-matching type 'S'
@inlinable public init?<S>(_ text: S) where S : StringProtocol
^
Swift.Float16:5:12: note: candidate has non-matching type 'Substring'
public init?(_ text: Substring)
^
Swift.Float16:3:12: note: candidate has non-matching type 'Int'
public init(_ v: Int)
^
Swift.Float16:4:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
Swift.Float16:7:23: note: candidate has non-matching type 'Float16'
@inlinable public init(_ other: Float16)
^
Swift.Float16:10:23: note: candidate has non-matching type 'Float'
@inlinable public init(_ other: Float)
^
Swift.Float16:12:23: note: candidate has non-matching type 'Double'
@inlinable public init(_ other: Double)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/WholeArithmetic.swift:210:21: note: candidate has non-matching type 'U'
@inlinable public init<U: UIntFamily>(_ uInt: U) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/IntegralArithmetic.swift:33:21: note: candidate has non-matching type 'I'
@inlinable public init<I: IntFamily>(_ int: I) {
^
Swift.BinaryFloatingPoint:5:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryFloatingPoint
^
Swift.BinaryFloatingPoint:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/RationalArithmetic.swift:25:3: note: protocol requires initializer 'init(_:)' with type 'FloatMax' (aka 'Float80')
init(_ floatingPoint: FloatMax)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:208:21: error: argument passed to call that takes no arguments
return FloatMax(self)
^~~~
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:285:21: error: argument passed to call that takes no arguments
return FloatMax(NativeType(self))
^~~~~~~~~~~~~~~~
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:353:21: error: argument passed to call that takes no arguments
return FloatMax(self)
^~~~
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:374:23: error: argument passed to call that takes no arguments
return FloatMax(self)
^~~~
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:29:31: error: 'Float80' is unavailable: Float80 is not available on target platform.
public typealias FloatMax = Float80
^~~~~~~
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
@frozen public struct Float80 {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:193:1: error: type 'Double' does not conform to protocol 'RationalArithmetic'
extension Double: FloatFamily {
^
Swift.Double:4:12: note: candidate has non-matching type 'Builtin.FPIEEE64'
public init(_ _value: Builtin.FPIEEE64)
^
Swift.Double:2:23: note: candidate has non-matching type 'S'
@inlinable public init?<S>(_ text: S) where S : StringProtocol
^
Swift.Double:4:12: note: candidate has non-matching type 'Substring'
public init?(_ text: Substring)
^
Swift.Double:2:12: note: candidate has non-matching type 'Int'
public init(_ v: Int)
^
Swift.Double:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
Swift.Double:6:23: note: candidate has non-matching type 'Float16'
@inlinable public init(_ other: Float16)
^
Swift.Double:9:23: note: candidate has non-matching type 'Float'
@inlinable public init(_ other: Float)
^
Swift.Double:11:23: note: candidate has non-matching type 'Double'
@inlinable public init(_ other: Double)
^
Foundation.Double:2:12: note: candidate has non-matching type 'CGFloat'
public init(_ value: CGFloat)
^
Foundation.Double:3:12: note: candidate has non-matching type 'NSNumber'
public init(_ number: NSNumber)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/WholeArithmetic.swift:210:21: note: candidate has non-matching type 'U'
@inlinable public init<U: UIntFamily>(_ uInt: U) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/IntegralArithmetic.swift:33:21: note: candidate has non-matching type 'I'
@inlinable public init<I: IntFamily>(_ int: I) {
^
Swift.BinaryFloatingPoint:5:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryFloatingPoint
^
Swift.BinaryFloatingPoint:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/RationalArithmetic.swift:25:3: note: protocol requires initializer 'init(_:)' with type 'FloatMax' (aka 'Float80')
init(_ floatingPoint: FloatMax)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:212:1: error: type 'CGFloat' does not conform to protocol 'RationalArithmetic'
extension CGFloat: FloatFamily {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:222:21: note: candidate has non-matching type 'IntMax' (aka 'Int64')
@inlinable public init(_ int: IntMax) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:228:21: note: candidate has non-matching type 'String'
@inlinable public init?(_ description: String) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:290:21: note: candidate has non-matching type 'UIntMax' (aka 'UInt64')
@inlinable public init(_ uInt: UIntMax) {
^
Foundation.CGFloat:4:12: note: candidate has non-matching type 'Float'
public init(_ value: Float)
^
Foundation.CGFloat:5:12: note: candidate has non-matching type 'Double'
public init(_ value: Double)
^
Foundation.CGFloat:6:12: note: candidate has non-matching type 'CGFloat'
public init(_ value: CGFloat)
^
Foundation.CGFloat:7:12: note: candidate has non-matching type 'UInt8'
public init(_ value: UInt8)
^
Foundation.CGFloat:8:12: note: candidate has non-matching type 'Int8'
public init(_ value: Int8)
^
Foundation.CGFloat:9:12: note: candidate has non-matching type 'UInt16'
public init(_ value: UInt16)
^
Foundation.CGFloat:10:12: note: candidate has non-matching type 'Int16'
public init(_ value: Int16)
^
Foundation.CGFloat:11:12: note: candidate has non-matching type 'UInt32'
public init(_ value: UInt32)
^
Foundation.CGFloat:12:12: note: candidate has non-matching type 'Int32'
public init(_ value: Int32)
^
Foundation.CGFloat:15:12: note: candidate has non-matching type 'UInt'
public init(_ value: UInt)
^
Foundation.CGFloat:16:12: note: candidate has non-matching type 'Int'
public init(_ value: Int)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/WholeArithmetic.swift:210:21: note: candidate has non-matching type 'U'
@inlinable public init<U: UIntFamily>(_ uInt: U) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/IntegralArithmetic.swift:33:21: note: candidate has non-matching type 'I'
@inlinable public init<I: IntFamily>(_ int: I) {
^
Swift.BinaryFloatingPoint:5:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryFloatingPoint
^
Swift.BinaryFloatingPoint:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/RationalArithmetic.swift:25:3: note: protocol requires initializer 'init(_:)' with type 'FloatMax' (aka 'Float80')
init(_ floatingPoint: FloatMax)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:338:1: error: type 'Float' does not conform to protocol 'RationalArithmetic'
extension Float: FloatFamily {
^
Swift.Float:4:12: note: candidate has non-matching type 'Builtin.FPIEEE32'
public init(_ _value: Builtin.FPIEEE32)
^
Swift.Float:2:23: note: candidate has non-matching type 'S'
@inlinable public init?<S>(_ text: S) where S : StringProtocol
^
Swift.Float:4:12: note: candidate has non-matching type 'Substring'
public init?(_ text: Substring)
^
Swift.Float:2:12: note: candidate has non-matching type 'Int'
public init(_ v: Int)
^
Swift.Float:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
Swift.Float:6:23: note: candidate has non-matching type 'Float16'
@inlinable public init(_ other: Float16)
^
Swift.Float:9:23: note: candidate has non-matching type 'Float'
@inlinable public init(_ other: Float)
^
Swift.Float:11:23: note: candidate has non-matching type 'Double'
@inlinable public init(_ other: Double)
^
Foundation.Float:2:12: note: candidate has non-matching type 'CGFloat'
public init(_ value: CGFloat)
^
Foundation.Float:3:12: note: candidate has non-matching type 'NSNumber'
public init(_ number: NSNumber)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/WholeArithmetic.swift:210:21: note: candidate has non-matching type 'U'
@inlinable public init<U: UIntFamily>(_ uInt: U) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/IntegralArithmetic.swift:33:21: note: candidate has non-matching type 'I'
@inlinable public init<I: IntFamily>(_ int: I) {
^
Swift.BinaryFloatingPoint:5:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryFloatingPoint
^
Swift.BinaryFloatingPoint:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/RationalArithmetic.swift:25:3: note: protocol requires initializer 'init(_:)' with type 'FloatMax' (aka 'Float80')
init(_ floatingPoint: FloatMax)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:359:3: error: type 'Float16' does not conform to protocol 'RationalArithmetic'
extension Float16: FloatFamily {
^
Swift.Float16:5:12: note: candidate has non-matching type 'Builtin.FPIEEE16'
public init(_ _value: Builtin.FPIEEE16)
^
Swift.Float16:3:23: note: candidate has non-matching type 'S'
@inlinable public init?<S>(_ text: S) where S : StringProtocol
^
Swift.Float16:5:12: note: candidate has non-matching type 'Substring'
public init?(_ text: Substring)
^
Swift.Float16:3:12: note: candidate has non-matching type 'Int'
public init(_ v: Int)
^
Swift.Float16:4:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
Swift.Float16:7:23: note: candidate has non-matching type 'Float16'
@inlinable public init(_ other: Float16)
^
Swift.Float16:10:23: note: candidate has non-matching type 'Float'
@inlinable public init(_ other: Float)
^
Swift.Float16:12:23: note: candidate has non-matching type 'Double'
@inlinable public init(_ other: Double)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/WholeArithmetic.swift:210:21: note: candidate has non-matching type 'U'
@inlinable public init<U: UIntFamily>(_ uInt: U) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/IntegralArithmetic.swift:33:21: note: candidate has non-matching type 'I'
@inlinable public init<I: IntFamily>(_ int: I) {
^
Swift.BinaryFloatingPoint:5:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryFloatingPoint
^
Swift.BinaryFloatingPoint:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/RationalArithmetic.swift:25:3: note: protocol requires initializer 'init(_:)' with type 'FloatMax' (aka 'Float80')
init(_ floatingPoint: FloatMax)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:208:21: error: argument passed to call that takes no arguments
return FloatMax(self)
^~~~
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:285:21: error: argument passed to call that takes no arguments
return FloatMax(NativeType(self))
^~~~~~~~~~~~~~~~
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:353:21: error: argument passed to call that takes no arguments
return FloatMax(self)
^~~~
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:374:23: error: argument passed to call that takes no arguments
return FloatMax(self)
^~~~
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:29:31: error: 'Float80' is unavailable: Float80 is not available on target platform.
public typealias FloatMax = Float80
^~~~~~~
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
@frozen public struct Float80 {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:193:1: error: type 'Double' does not conform to protocol 'RationalArithmetic'
extension Double: FloatFamily {
^
Swift.Double:4:12: note: candidate has non-matching type 'Builtin.FPIEEE64'
public init(_ _value: Builtin.FPIEEE64)
^
Swift.Double:2:23: note: candidate has non-matching type 'S'
@inlinable public init?<S>(_ text: S) where S : StringProtocol
^
Swift.Double:4:12: note: candidate has non-matching type 'Substring'
public init?(_ text: Substring)
^
Swift.Double:2:12: note: candidate has non-matching type 'Int'
public init(_ v: Int)
^
Swift.Double:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
Swift.Double:6:23: note: candidate has non-matching type 'Float16'
@inlinable public init(_ other: Float16)
^
Swift.Double:9:23: note: candidate has non-matching type 'Float'
@inlinable public init(_ other: Float)
^
Swift.Double:11:23: note: candidate has non-matching type 'Double'
@inlinable public init(_ other: Double)
^
Foundation.Double:2:12: note: candidate has non-matching type 'CGFloat'
public init(_ value: CGFloat)
^
Foundation.Double:3:12: note: candidate has non-matching type 'NSNumber'
public init(_ number: NSNumber)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/WholeArithmetic.swift:210:21: note: candidate has non-matching type 'U'
@inlinable public init<U: UIntFamily>(_ uInt: U) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/IntegralArithmetic.swift:33:21: note: candidate has non-matching type 'I'
@inlinable public init<I: IntFamily>(_ int: I) {
^
Swift.BinaryFloatingPoint:5:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryFloatingPoint
^
Swift.BinaryFloatingPoint:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/RationalArithmetic.swift:25:3: note: protocol requires initializer 'init(_:)' with type 'FloatMax' (aka 'Float80')
init(_ floatingPoint: FloatMax)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:212:1: error: type 'CGFloat' does not conform to protocol 'RationalArithmetic'
extension CGFloat: FloatFamily {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:222:21: note: candidate has non-matching type 'IntMax' (aka 'Int64')
@inlinable public init(_ int: IntMax) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:228:21: note: candidate has non-matching type 'String'
@inlinable public init?(_ description: String) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:290:21: note: candidate has non-matching type 'UIntMax' (aka 'UInt64')
@inlinable public init(_ uInt: UIntMax) {
^
Foundation.CGFloat:4:12: note: candidate has non-matching type 'Float'
public init(_ value: Float)
^
Foundation.CGFloat:5:12: note: candidate has non-matching type 'Double'
public init(_ value: Double)
^
Foundation.CGFloat:6:12: note: candidate has non-matching type 'CGFloat'
public init(_ value: CGFloat)
^
Foundation.CGFloat:7:12: note: candidate has non-matching type 'UInt8'
public init(_ value: UInt8)
^
Foundation.CGFloat:8:12: note: candidate has non-matching type 'Int8'
public init(_ value: Int8)
^
Foundation.CGFloat:9:12: note: candidate has non-matching type 'UInt16'
public init(_ value: UInt16)
^
Foundation.CGFloat:10:12: note: candidate has non-matching type 'Int16'
public init(_ value: Int16)
^
Foundation.CGFloat:11:12: note: candidate has non-matching type 'UInt32'
public init(_ value: UInt32)
^
Foundation.CGFloat:12:12: note: candidate has non-matching type 'Int32'
public init(_ value: Int32)
^
Foundation.CGFloat:15:12: note: candidate has non-matching type 'UInt'
public init(_ value: UInt)
^
Foundation.CGFloat:16:12: note: candidate has non-matching type 'Int'
public init(_ value: Int)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/WholeArithmetic.swift:210:21: note: candidate has non-matching type 'U'
@inlinable public init<U: UIntFamily>(_ uInt: U) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/IntegralArithmetic.swift:33:21: note: candidate has non-matching type 'I'
@inlinable public init<I: IntFamily>(_ int: I) {
^
Swift.BinaryFloatingPoint:5:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryFloatingPoint
^
Swift.BinaryFloatingPoint:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/RationalArithmetic.swift:25:3: note: protocol requires initializer 'init(_:)' with type 'FloatMax' (aka 'Float80')
init(_ floatingPoint: FloatMax)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:338:1: error: type 'Float' does not conform to protocol 'RationalArithmetic'
extension Float: FloatFamily {
^
Swift.Float:4:12: note: candidate has non-matching type 'Builtin.FPIEEE32'
public init(_ _value: Builtin.FPIEEE32)
^
Swift.Float:2:23: note: candidate has non-matching type 'S'
@inlinable public init?<S>(_ text: S) where S : StringProtocol
^
Swift.Float:4:12: note: candidate has non-matching type 'Substring'
public init?(_ text: Substring)
^
Swift.Float:2:12: note: candidate has non-matching type 'Int'
public init(_ v: Int)
^
Swift.Float:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
Swift.Float:6:23: note: candidate has non-matching type 'Float16'
@inlinable public init(_ other: Float16)
^
Swift.Float:9:23: note: candidate has non-matching type 'Float'
@inlinable public init(_ other: Float)
^
Swift.Float:11:23: note: candidate has non-matching type 'Double'
@inlinable public init(_ other: Double)
^
Foundation.Float:2:12: note: candidate has non-matching type 'CGFloat'
public init(_ value: CGFloat)
^
Foundation.Float:3:12: note: candidate has non-matching type 'NSNumber'
public init(_ number: NSNumber)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/WholeArithmetic.swift:210:21: note: candidate has non-matching type 'U'
@inlinable public init<U: UIntFamily>(_ uInt: U) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/IntegralArithmetic.swift:33:21: note: candidate has non-matching type 'I'
@inlinable public init<I: IntFamily>(_ int: I) {
^
Swift.BinaryFloatingPoint:5:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryFloatingPoint
^
Swift.BinaryFloatingPoint:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/RationalArithmetic.swift:25:3: note: protocol requires initializer 'init(_:)' with type 'FloatMax' (aka 'Float80')
init(_ floatingPoint: FloatMax)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:359:3: error: type 'Float16' does not conform to protocol 'RationalArithmetic'
extension Float16: FloatFamily {
^
Swift.Float16:5:12: note: candidate has non-matching type 'Builtin.FPIEEE16'
public init(_ _value: Builtin.FPIEEE16)
^
Swift.Float16:3:23: note: candidate has non-matching type 'S'
@inlinable public init?<S>(_ text: S) where S : StringProtocol
^
Swift.Float16:5:12: note: candidate has non-matching type 'Substring'
public init?(_ text: Substring)
^
Swift.Float16:3:12: note: candidate has non-matching type 'Int'
public init(_ v: Int)
^
Swift.Float16:4:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
Swift.Float16:7:23: note: candidate has non-matching type 'Float16'
@inlinable public init(_ other: Float16)
^
Swift.Float16:10:23: note: candidate has non-matching type 'Float'
@inlinable public init(_ other: Float)
^
Swift.Float16:12:23: note: candidate has non-matching type 'Double'
@inlinable public init(_ other: Double)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/WholeArithmetic.swift:210:21: note: candidate has non-matching type 'U'
@inlinable public init<U: UIntFamily>(_ uInt: U) {
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/IntegralArithmetic.swift:33:21: note: candidate has non-matching type 'I'
@inlinable public init<I: IntFamily>(_ int: I) {
^
Swift.BinaryFloatingPoint:5:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryFloatingPoint
^
Swift.BinaryFloatingPoint:3:23: note: candidate has non-matching type 'Source'
@inlinable public init<Source>(_ value: Source) where Source : BinaryInteger
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/RationalArithmetic.swift:25:3: note: protocol requires initializer 'init(_:)' with type 'FloatMax' (aka 'Float80')
init(_ floatingPoint: FloatMax)
^
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:208:21: error: argument passed to call that takes no arguments
return FloatMax(self)
^~~~
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:285:21: error: argument passed to call that takes no arguments
return FloatMax(NativeType(self))
^~~~~~~~~~~~~~~~
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:353:21: error: argument passed to call that takes no arguments
return FloatMax(self)
^~~~
/home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:374:23: error: argument passed to call that takes no arguments
return FloatMax(self)
^~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment