The greatest representable value that compares less than this value.
SDK
- Xcode 9.0+
Framework
- Swift Standard Library
Declaration
var nextDown: Double { get }
Discussion
For any finite value x, x is less than x. For nan or -infinity, x is x itself. The following special cases also apply:
If
xisinfinity, thenxis.next Down greatest.Finite Magnitude If
xisleast, thenNonzero Magnitude xis.next Down 0..0 If
xis zero, thenxis.next Down -least.Nonzero Magnitude If
xis-greatest, thenFinite Magnitude xis.next Down -infinity.