Float80

struct Float80
Inheritance AbsoluteValuable, Comparable, Equatable, FloatLiteralConvertible, Hashable, IntegerLiteralConvertible, Printable, SignedNumberType, Strideable, _Comparable, _SignedNumberType, _Strideable View Protocol Hierarchy →
Import import Swift

Initializers

init()

Create an instance initialized to zero.

Declaration

init()
init(_: Double)

Construct an instance that approximates other.

Declaration

init(_ other: Double)
init(_: Float)

Construct an instance that approximates other.

Declaration

init(_ other: Float)
init(_: Float80)

Create an instance initialized to value.

Declaration

init(_ value: Float80)
init(_: Int)

Declaration

init(_ v: Int)
init(_: Int8)

Declaration

init(_ v: Int8)
init(_: Int16)

Declaration

init(_ v: Int16)
init(_: Int32)

Declaration

init(_ v: Int32)
init(_: Int64)

Declaration

init(_ v: Int64)
init(_: UInt)

Declaration

init(_ v: UInt)
init(_: UInt8)

Declaration

init(_ v: UInt8)
init(_: UInt16)

Declaration

init(_ v: UInt16)
init(_: UInt32)

Declaration

init(_ v: UInt32)
init(_: UInt64)

Declaration

init(_ v: UInt64)
init(_bits:)

Declaration

init(_bits v: Builtin.FPIEEE80)
init(_builtinFloatLiteral:)

Declaration

init(_builtinFloatLiteral value: Builtin.FPIEEE80)
init(_builtinIntegerLiteral:)

Declaration

init(_builtinIntegerLiteral value: Builtin.Int2048)
init(floatLiteral:)

Create an instance initialized to value.

Declaration

init(floatLiteral value: Float80)
init(integerLiteral:)

Create an instance initialized to value.

Declaration

init(integerLiteral value: Int64)

Instance Variables

var description: String

A textual representation of self.

Declaration

var description: String { get }
var hashValue: Int

The hash value.

Axiom: x == y implies x.hashValue == y.hashValue

Note: the hash value is not guaranteed to be stable across different invocations of the same program. Do not persist the hash value across program runs.

Declaration

var hashValue: Int { get }

Static Methods

static func abs(_:)

Returns the absolute value of x

Declaration

static func abs(x: Float80) -> Float80

Instance Methods

func advancedBy(_:)

Returns a Self x such that self.distanceTo(x) approximates n.

Complexity: O(1).

Declaration

func advancedBy(amount: Float80) -> Float80
func distanceTo(_:)

Returns a stride x such that self.advancedBy(x) approximates other.

Complexity: O(1).

Declaration

func distanceTo(other: Float80) -> Float80