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 Floating Point Sign .Raw ValueThe 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?(raw Value: Int)Creates a new instance with the specified raw value.
var hash Value: IntThe hash value.
var raw Value: 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 != (Floating Point Sign, Floating Point Sign) -> BoolReturns a Boolean value indicating whether two values are not equal.
static func == (Floating Point Sign, Floating Point Sign) -> BoolReturns a Boolean value indicating whether two values are equal.