The unit in the last place of this value.
- Xcode 8.0+
- Swift Standard Library
This is the unit of the least significant digit in this value’s significand. For most numbers
x, this is the difference between
x and the next greater (in magnitude) representable number. There are some edge cases to be aware of:
xis not a finite number, then
xis very small in magnitude, then
xmay be a subnormal number. If a type does not support subnormals,
xmay be rounded to zero.
greatestis a finite number, even though the next greater representable value is
Finite Magnitude .ulp
See also the
ulp static property.