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 negative InfinityA value equal to -infinity.
case negative NormalA negative value that uses the full precision of the floating-point type.
case negative SubnormalA negative, nonzero number that does not use the full precision of the floating-point type.
case negative ZeroA value equal to zero with a negative sign.
case positive InfinityA value equal to +infinity.
case positive NormalA positive value that uses the full precision of the floating-point type.
case positive SubnormalA positive, nonzero number that does not use the full precision of the floating-point type.
case positive ZeroA value equal to zero with a positive sign.
case quiet Na NA silent NaN (“not a number”) value.
case signaling Na NA signaling NaN (“not a number”).
var hash Value: IntThe hash value.
func hash(into: inout Hasher)Hashes the essential components of this value by feeding them into the given hasher.
static func != (Floating Point Classification, Floating Point Classification) -> BoolReturns a Boolean value indicating whether two values are not equal.
static func == (Floating Point Classification, Floating Point Classification) -> BoolReturns a Boolean value indicating whether two values are equal.