The maximum representable integer in this type.
SDK
- Xcode 6.0.1+
Framework
- Swift Standard Library
Declaration
static var max: Int { get }
Discussion
For signed integer types, this value is (2 ** (bit, where ** is exponentiation.
The maximum representable integer in this type.
SDK
Framework
static var max: Int { get }
For signed integer types, this value is (2 ** (bit, where ** is exponentiation.
static var zero: IntThe zero value.
static var min: IntThe minimum representable integer in this type.
static var isSigned : BoolA Boolean value indicating whether this type is a signed integer type.