The classification of this value.
SDK
- Xcode 9.0+
Framework
- Swift Standard Library
Declaration
Discussion
A value’s floating
property describes its “class” as described by the IEEE 754 specification.
The classification of this value.
SDK
Framework
A value’s floating
property describes its “class” as described by the IEEE 754 specification.
var is Zero: Bool
A Boolean value indicating whether the instance is equal to zero.
var is Finite: Bool
A Boolean value indicating whether this instance is finite.
var is Infinite: Bool
A Boolean value indicating whether the instance is infinite.
var is Na N: Bool
A Boolean value indicating whether the instance is NaN (“not a number”).
var is Signaling Na N: Bool
A Boolean value indicating whether the instance is a signaling NaN.
var is Normal: Bool
A Boolean value indicating whether this instance is normal.
var is Subnormal: Bool
A Boolean value indicating whether the instance is subnormal.
var is Canonical: Bool
A Boolean value indicating whether the instance’s representation is in the canonical form.