Type PropertySwift

max

The maximum representable integer in this type.

static var max: Self { get }

Overview

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