Enumeration

FloatingPointSign

The sign of a floating-point value.

Declaration

@frozen enum FloatingPointSign : Int

Topics

Type Aliases

typealias FloatingPointSign.RawValue

The raw type that can be used to represent all values of the conforming type.

Enumeration Cases

case minus

The sign for a negative value.

case plus

The sign for a positive value.

Initializers

init?(rawValue: Int)

Creates a new instance with the specified raw value.

Instance Properties

var hashValue: Int

The hash value.

var rawValue: Int

The corresponding value of the raw type.

Instance Methods

func hash(into: inout Hasher)

Hashes the essential components of this value by feeding them into the given hasher.

Operator Functions

static func != (FloatingPointSign, FloatingPointSign) -> Bool

Returns a Boolean value indicating whether two values are not equal.

static func == (FloatingPointSign, FloatingPointSign) -> Bool

Returns a Boolean value indicating whether two values are equal.