---
title: CGFLOAT_MAX
framework: corefoundation
role: symbol
role_heading: Global Variable
path: corefoundation/cgfloat_max
---

# CGFLOAT_MAX

## Declaration

```swift
var CGFLOAT_MAX: Double { get }
```

## Discussion

Discussion The maximum non-infinite value for a CGFloat type. For 32-bit code, this value is 3.40282347e+38F. For 64-bit code, it is 1.7976931348623157e+308.

## See Also

### Constants

- [CFByteOrderBigEndian](corefoundation/cfbyteorderbigendian.md)
- [CFByteOrderLittleEndian](corefoundation/cfbyteorderlittleendian.md)
- [CFByteOrderUnknown](corefoundation/cfbyteorderunknown.md)
- [kCFCoreFoundationVersionNumber10_10](corefoundation/kcfcorefoundationversionnumber10_10.md)
- [kCFCoreFoundationVersionNumber10_10_1](corefoundation/kcfcorefoundationversionnumber10_10_1.md)
- [kCFCoreFoundationVersionNumber10_10_2](corefoundation/kcfcorefoundationversionnumber10_10_2.md)
- [kCFCoreFoundationVersionNumber10_10_3](corefoundation/kcfcorefoundationversionnumber10_10_3.md)
- [kCFCoreFoundationVersionNumber10_10_4](corefoundation/kcfcorefoundationversionnumber10_10_4.md)
- [kCFCoreFoundationVersionNumber10_10_5](corefoundation/kcfcorefoundationversionnumber10_10_5.md)
- [kCFCoreFoundationVersionNumber10_10_Max](corefoundation/kcfcorefoundationversionnumber10_10_max.md)
- [kCFCoreFoundationVersionNumber10_11](corefoundation/kcfcorefoundationversionnumber10_11.md)
- [kCFCoreFoundationVersionNumber10_11_1](corefoundation/kcfcorefoundationversionnumber10_11_1.md)
- [kCFCoreFoundationVersionNumber10_11_2](corefoundation/kcfcorefoundationversionnumber10_11_2.md)
- [kCFCoreFoundationVersionNumber10_11_3](corefoundation/kcfcorefoundationversionnumber10_11_3.md)
- [kCFCoreFoundationVersionNumber10_11_4](corefoundation/kcfcorefoundationversionnumber10_11_4.md)
