Type Property 型プロパティ

zero

The zero value. ゼロ値。

Declaration 宣言

static var zero: Self { get }

Discussion 解説

Zero is the identity element for addition. For any value, x + .zero == x and .zero + x == x. ゼロは加算に対する単位元です。あらゆる値に対して、x + .zero == xかつ.zero + x == x

Default Implementations 省略時実装

AdditiveArithmetic Implementations 加法算術の実装