Type Property

min

The minimum representable integer in this type.

Declaration

static var min: Int { get }

Discussion

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

See Also

Accessing Numeric Constants

static var zero: Int

The zero value.

static var max: Int

The maximum representable integer in this type.

static var isSigned: Bool

A Boolean value indicating whether this type is a signed integer type.