Enumerationswift 6.0.1Swift
FloatingPointClassification
The IEEE 754 floating-point classes.
@frozen enum FloatingPointClassification
Cases
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”).
Citizens in Swift
Conformances
protocol BitwiseCopyable
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol Sendable
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.