The sign of a floating-point value.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
Declaration
@frozen enum FloatingPointSign : Int
The sign of a floating-point value.
SDK
Framework
@frozen enum FloatingPointSign : Int
typealias FloatingPointSign.RawValue The raw type that can be used to represent all values of the conforming type.
case minusThe sign for a negative value.
case plusThe sign for a positive value.
init?(rawValue : Int)Creates a new instance with the specified raw value.
var hashValue : IntThe hash value.
var rawValue : IntThe corresponding value of the raw type.
func hash(into: inout Hasher)Hashes the essential components of this value by feeding them into the given hasher.
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.