Instance Property インスタンスプロパティ

nextDown

The greatest representable value that compares less than this value. 表現可能な最も大きい値で、この値と比較してより小さいもの。

Declaration 宣言

var nextDown: Float { get }

Discussion 解説

For any finite value x, x.nextDown is less than x. For nan or -infinity, x.nextDown is x itself. The following special cases also apply: 何らかの有限の値xに対して、x.nextDownxより小さいです。nanまたは-infinityに対して、x.nextDownxそれ自身です。以下の特別な場合もまた適用されます:

  • If x is infinity, then x.nextDown is greatestFiniteMagnitude. xinfinityならば、そのときx.nextDowngreatestFiniteMagnitudeです。

  • If x is leastNonzeroMagnitude, then x.nextDown is 0.0. xleastNonzeroMagnitudeならば、そのときx.nextDown0.0です。

  • If x is zero, then x.nextDown is -leastNonzeroMagnitude. xがゼロならば、そのときx.nextDown-leastNonzeroMagnitudeです。

  • If x is -greatestFiniteMagnitude, then x.nextDown is -infinity. x-greatestFiniteMagnitudeならば、そのときx.nextDown-infinityです。

See Also 参照

Querying a Float Floatに問い合わせる