Global Variable

CGFLOAT_MIN

Declaration

iOS, macOS, Mac Catalyst, tvOS
var CGFLOAT_MIN: Double { get }
watchOS
var CGFLOAT_MIN: Float { get }

Discussion

The minimum non-negative non-subnormal value for a CGFloat type. For 32-bit code, this value is 1.17549435e-38F. For 64-bit code, it is 2.2250738585072014e-308.

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