A Boolean value indicating whether the instance’s representation is in the canonical form.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
Declaration
Discussion
The IEEE 754 specification defines a canonical, or preferred, encoding of a floating-point value’s representation. Every Float
or Double
value is canonical, but noncanonical values of the Float80
type exist, and noncanonical values may exist for other types that conform to the Floating
protocol.