Protocol

SignedInteger

An integer type that can represent both positive and negative values.

Declaration

protocol SignedInteger

Topics

Type Properties

static var max: Self

The maximum representable integer in this type.

static var min: Self

The minimum representable integer in this type.

Operator Functions

static func &+ (Self, Self) -> Self
static func &- (Self, Self) -> Self

Relationships

Conforming Types

See Also

Integer

protocol BinaryInteger

An integer type with a binary representation.

protocol FixedWidthInteger

An integer type that uses a fixed size for every instance.

protocol UnsignedInteger

An integer type that can represent only nonnegative values.