# Double.PositiveInfinity フィールド

## 定義

``public: double PositiveInfinity = Infinity;``
``public const double PositiveInfinity = Infinity;``
``val mutable PositiveInfinity : double``
``Public Const PositiveInfinity As Double  = Infinity``

Double

## 例

``````// This will equal Infinity.
Console::WriteLine( "PositiveInfinity plus 10.0 equals {0}.", (Double::PositiveInfinity + 10.0) );
``````
``````// This will equal Infinity.
Console.WriteLine("PositiveInfinity plus 10.0 equals {0}.", (Double.PositiveInfinity + 10.0).ToString());
``````
``````' This will equal Infinity.
Console.WriteLine("PositiveInfinity plus 10.0 equals " + (Double.PositiveInfinity + 10).ToString() + ".")
``````

## 注釈

この定数の値は、正の数値を0で除算した結果です。The value of this constant is the result of dividing a positive number by zero.

この定数は、演算の結果がより大きい場合に返され Double.MaxValue ます。This constant is returned when the result of an operation is greater than Double.MaxValue.

IsPositiveInfinity値が正の無限大と評価されるかどうかを判断するために使用します。Use IsPositiveInfinity to determine whether a value evaluates to positive infinity.