Instance Property


True if and only if self is canonical.


var isCanonical: Bool { get }


Every floating-point value of type Float or Double is canonical, but non-canonical values of type Float80 exist, and non-canonical values may exist for other types that conform to FloatingPoint.

The non-canonical Float80 values are known as “pseudo-denormal”, “unnormal”, “pseudo-infinity”, and “pseudo-NaN”. (


From Protocol

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software