EnumerationSwift
FloatingPointClassification
The IEEE 754 floating-point classes.
@frozen enum FloatingPointClassification
The IEEE 754 floating-point classes.
@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”).