The IEEE 754 floating-point classes.
SDK
- Xcode 6.0.1+
Framework
- Swift Standard Library
Declaration
@frozen enum FloatingPointClassification
The IEEE 754 floating-point classes.
SDK
Framework
@frozen enum FloatingPointClassification
case negativeInfinity
A value equal to -infinity
.
case negativeNormal
A negative value that uses the full precision of the floating-point type.
case negativeSubnormal
A negative, nonzero number that does not use the full precision of the floating-point type.
case negativeZero
A value equal to zero with a negative sign.
case positiveInfinity
A value equal to +infinity
.
case positiveNormal
A positive value that uses the full precision of the floating-point type.
case positiveSubnormal
A positive, nonzero number that does not use the full precision of the floating-point type.
case positiveZero
A value equal to zero with a positive sign.
case quietNaN
A silent NaN (“not a number”) value.
case signalingNaN
A signaling NaN (“not a number”).
var hashValue : Int
The hash value.
func hash(into: inout Hasher)
Hashes the essential components of this value by feeding them into the given hasher.
static func != (FloatingPointClassification, FloatingPointClassification) -> Bool
Returns a Boolean value indicating whether two values are not equal.
static func == (FloatingPointClassification, FloatingPointClassification) -> Bool
Returns a Boolean value indicating whether two values are equal.