Instance Property

isFinite

A Boolean value indicating whether this instance is finite.

Declaration

var isFinite: Bool { get }

Discussion

All values other than NaN and infinity are considered finite, whether normal or subnormal.

Relationships

From Protocol

See Also

Querying a Float's State

var isZero: Bool

A Boolean value indicating whether the instance is equal to zero.

var isInfinite: Bool

A Boolean value indicating whether the instance is infinite.

var isNaN: Bool

A Boolean value indicating whether the instance is NaN (“not a number”).

var isSignalingNaN: Bool

A Boolean value indicating whether the instance is a signaling NaN.

var isNormal: Bool

A Boolean value indicating whether this instance is normal.

var isSubnormal: Bool

A Boolean value indicating whether the instance is subnormal.

var isCanonical: Bool

A Boolean value indicating whether the instance’s representation is in the canonical form.