Type Property

greatestFiniteMagnitude

The greatest finite number.

Declaration

static var greatestFiniteMagnitude: CGFloat { get }

Discussion

Compares greater than or equal to all finite numbers, but less than infinity. Corresponds to the C macros FLT_MAX, DBL_MAX, etc. The naming of those macros is slightly misleading, because infinity is greater than this value.

Relationships

From Protocol

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software