MUFloatingPoint

public protocol MUFloatingPoint : FloatingPoint

FloatingPoint protocol

  • A very close to 0 number

    Declaration

    Swift

    static var epsilon: Self { get }
  • The hypotenuse of given numbers

    Declaration

    Swift

    static func hypotenuse(_ lhs: Self, _ rhs: Self) -> Self
  • Return a floating point from a given double

    Declaration

    Swift

    init(_ double: Double)