The available number of fractional significand bits.
Required.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
Declaration
Discussion
For fixed-width floating-point types, this is the actual number of fractional significand bits.
For extensible floating-point types, significand
should be the maximum allowed significand width (without counting any leading integral bit of the significand). If there is no upper limit, then significand
should be Int
.
Note that Float80
is 63, even though 64 bits are used to store the significand in the memory representation of a Float80
(unlike other floating-point types, Float80
explicitly stores the leading integral significand bit, but the Binary
APIs provide an abstraction so that users don’t need to be aware of this detail).