The number of bits required to represent the value’s significand.
Required.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
Declaration
Discussion
If this value is a finite nonzero number, significand
is the number of fractional bits required to represent the value of significand
; otherwise, significand
is -1. The value of significand
is always -1 or between zero and significand
. For example:
For any representable power of two,
significand
is zero, becauseWidth significand
is1
..0 If
x
is 10,x
is.significand 1
in binary, so.01 x
is 2..significand Width If
x
is Float.pi,x
is.significand 1
in binary, and.10010010000111111011011 x
is 23..significand Width