Type Property 型プロパティ

max

The maximum representable integer in this type. この型における最大の表現可能な整数。

Declaration 宣言

static var max: UInt8 { get }

Discussion 解説

For unsigned integer types, this value is (2 ** bitWidth) - 1, where ** is exponentiation. 符号なし整数型に対して、この値は(2 ** bitWidth) - 1です、そこで**は冪演算です。