Type Property

max

The maximum representable integer in this type.

Declaration

static var max: Int32 { get }

Discussion

For signed integer types, this value is (2 ** (bitWidth - 1)) - 1, where ** is exponentiation.