Code Monkey home page Code Monkey logo

sdgcornerstone's People

Contributors

sdggiesbrecht avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sdgcornerstone's Issues

Can't compile this on Linux

Description

This project don't compiles on Linux (Ubuntu)

Demonstration

/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:322:22: error: type alias 'Vector' references itself public typealias Vector = Stride ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:305:3: note: through reference here extension Float80: Decodable, Encodable, FloatFamily { ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:305:3: note: through reference here extension Float80: Decodable, Encodable, FloatFamily { ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:322:31: note: while resolving type 'Stride' public typealias Vector = Stride ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:322:22: error: type alias 'Vector' references itself public typealias Vector = Stride ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:322:22: note: through reference here public typealias Vector = Stride ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:305:3: note: through reference here extension Float80: Decodable, Encodable, FloatFamily { ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:305:3: note: through reference here extension Float80: Decodable, Encodable, FloatFamily { ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:322:31: note: while resolving type 'Stride' public typealias Vector = Stride ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:322:22: error: type alias 'Vector' references itself public typealias Vector = Stride ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:305:3: note: through reference here extension Float80: Decodable, Encodable, FloatFamily { ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:305:3: note: through reference here extension Float80: Decodable, Encodable, FloatFamily { ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:322:31: note: while resolving type 'Stride' public typealias Vector = Stride ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:326:26: error: 'Float80' is unavailable: Float80 is not available on target platform. public static let e: Float80 = 0x1.5BF0A8B145769535p1 ^~~~~~~ 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:305:3: error: type 'Float80' does not conform to protocol 'BinaryFloatingPoint' extension Float80: Decodable, Encodable, FloatFamily { ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:305:3: error: type 'Float80' does not conform to protocol 'CustomDebugStringConvertible' extension Float80: Decodable, Encodable, FloatFamily { ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:305:3: error: type 'Float80' does not conform to protocol 'LosslessStringConvertible' extension Float80: Decodable, Encodable, FloatFamily { ^ /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 would match if 'Float80.RawSignificand' conformed to 'FixedWidthInteger' @inlinable public init<Source>(_ value: Source) where Source : BinaryInteger ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:305:3: error: type 'Float80' does not conform to protocol 'FloatingPoint' extension Float80: Decodable, Encodable, FloatFamily { ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:305:3: error: type 'Float80' does not conform to protocol 'ExpressibleByFloatLiteral' extension Float80: Decodable, Encodable, FloatFamily { ^ Swift.ExpressibleByFloatLiteral:2:20: note: unable to infer associated type 'FloatLiteralType' for protocol 'ExpressibleByFloatLiteral' associatedtype FloatLiteralType : _ExpressibleByBuiltinFloatLiteral ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/RationalArithmetic.swift:114:21: note: candidate would match and infer 'FloatLiteralType' = 'FloatMax' (aka 'Float80') if 'FloatMax' (aka 'Float80') conformed to '_ExpressibleByBuiltinFloatLiteral' @inlinable public init(floatLiteral: FloatMax) { ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:305:3: error: type 'Float80' does not conform to protocol 'CustomStringConvertible' extension Float80: Decodable, Encodable, FloatFamily { ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:305:3: error: type 'Float80' does not conform to protocol 'RealArithmetic' extension Float80: Decodable, Encodable, FloatFamily { ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:152:33: note: candidate would match if 'Float80' conformed to 'ElementaryFunctions' @inlinable public static func sin(_ angle: Angle<Self>) -> Self { ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:168:33: note: candidate would match if 'Float80' conformed to 'ElementaryFunctions' @inlinable public static func arctan(_ tangent: Self) -> Angle<Self> { ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:305:3: error: type 'Float80' does not conform to protocol 'Strideable' extension Float80: Decodable, Encodable, FloatFamily { ^ Swift.Strideable:2:20: note: unable to infer associated type 'Stride' for protocol 'Strideable' associatedtype Stride : Comparable, SignedNumeric ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/OneDimensionalPoint.swift:59:26: note: candidate can not infer 'Stride' = 'Float80.Vector' because 'Float80.Vector' is not a nominal type and so can't conform to 'Comparable' @inlinable public func distance(to other: Self) -> Vector { ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/OneDimensionalPoint.swift:51:26: note: candidate can not infer 'Stride' = 'Float80.Vector' because 'Float80.Vector' is not a nominal type and so can't conform to 'Comparable' @inlinable public func advanced(by n: Vector) -> Self { ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:305:3: error: extension outside of file declaring struct 'Float80' prevents automatic synthesis of 'hash(into:)' for protocol 'Hashable' extension Float80: Decodable, Encodable, FloatFamily { ^ Swift.Float80:2:23: note: type declared here @frozen public struct Float80 { ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:305:3: error: type 'Float80' does not conform to protocol 'Numeric' extension Float80: Decodable, Encodable, FloatFamily { ^ Swift.BinaryFloatingPoint:6:23: note: candidate has non-matching type '(exactly: Source)' [with Magnitude = Float80] @inlinable public init?<Source>(exactly value: Source) where Source : BinaryFloatingPoint ^ Swift.BinaryFloatingPoint:4:23: note: candidate would match if 'Float80.RawSignificand' conformed to 'FixedWidthInteger' @inlinable public init?<Source>(exactly value: Source) where Source : BinaryInteger ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:305:3: error: type 'Float80' does not conform to protocol 'WholeArithmetic' extension Float80: Decodable, Encodable, FloatFamily { ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/RationalArithmetic.swift:90:33: note: candidate has non-matching type '<Self, R> (in: Range<Self>, using: inout R) -> Self' @inlinable public static func random<R>(in range: Range<Self>, using generator: inout R) -> Self ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/RationalArithmetic.swift:137:33: note: candidate has non-matching type '<Self, R> (in: Range<Self>, using: inout R) -> Self' @inlinable public static func random<R>(in range: Range<Self>, using generator: inout R) -> Self ^ Swift.BinaryFloatingPoint:2:35: note: candidate has non-matching type '<Self, T> (in: Range<Self>, using: inout T) -> Self' @inlinable public static func random<T>(in range: Range<Self>, using generator: inout T) -> Self where T : RandomNumberGenerator ^ Swift.BinaryFloatingPoint:4:35: note: candidate would match if 'Float80.RawSignificand' conformed to 'FixedWidthInteger' @inlinable public static func random<T>(in range: ClosedRange<Self>, using generator: inout T) -> Self where T : RandomNumberGenerator ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:305:3: error: type 'Float80' does not conform to protocol 'FixedScaleOneDimensionalPoint' extension Float80: Decodable, Encodable, FloatFamily { ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:305:3: error: type 'Float80' does not conform to protocol 'PointProtocol' extension Float80: Decodable, Encodable, FloatFamily { ^ Swift.BinaryFloatingPoint:2:20: note: protocol requires nested type 'RawSignificand'; do you want to add it? associatedtype RawSignificand : UnsignedInteger ^ Swift.BinaryFloatingPoint:3:20: note: protocol requires nested type 'RawExponent'; do you want to add it? associatedtype RawExponent : UnsignedInteger ^ Swift.CustomDebugStringConvertible:2:9: note: protocol requires property 'debugDescription' with type 'String' var debugDescription: String { get } ^ Swift.LosslessStringConvertible:2:5: note: protocol requires initializer 'init(_:)' with type 'String' init?(_ description: String) ^ Swift.FloatingPoint:2:20: note: protocol requires nested type 'Exponent'; do you want to add it? associatedtype Exponent : SignedInteger ^ Swift.CustomStringConvertible:2:9: note: protocol requires property 'description' with type 'String' var description: String { get } ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/RealArithmetic.swift:117:15: note: protocol requires function 'sin' with type '(Angle<Float80>) -> Float80' static func sin(_ angle: Angle<Self>) -> Self ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/RealArithmetic.swift:183:15: note: protocol requires function 'arctan' with type '(Float80) -> Angle<Float80>' static func arctan(_ tangent: Self) -> Angle<Self> ^ Swift.Numeric:2:5: note: protocol requires initializer 'init(exactly:)' with type '(exactly: T)' init?<T>(exactly source: T) where T : BinaryInteger ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/WholeArithmetic.swift:204:15: note: protocol requires function 'random(in:using:)' with type '<R> (in: ClosedRange<Float80>, using: inout R) -> Float80' static func random<R>(in range: ClosedRange<Self>, using generator: inout R) -> Self ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Numeric Protocols/PointProtocol.swift:23:18: note: protocol requires nested type 'Vector'; do you want to add it? associatedtype Vector: Negatable ^ /home/ubuntu/stalker/.build/checkouts/SDGCornerstone/Sources/SDGMathematics/Float.swift:305:13: error: 'Float80' is unavailable: Float80 is not available on target platform. extension Float80: Decodable, Encodable, FloatFamily { ^~~~~~~ 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:329:19: error: type 'Float80' has no member 'log10' return Self.log10(antilogarithm) ~~~~ ^~~~~

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.