The greatest finite number representable by this type.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
Declaration
static var greatestFiniteMagnitude: Double { get }
Discussion
This value compares greater than or equal to all finite numbers, but less than infinity.
This value corresponds to type-specific C macros such as FLT and DBL. The naming of those macros is slightly misleading, because infinity is greater than this value.