# Single.PositiveInfinitySingle.PositiveInfinitySingle.PositiveInfinitySingle.PositiveInfinity Field

## 定義

public: float PositiveInfinity = Infinity;
public const float PositiveInfinity = Infinity;
val mutable PositiveInfinity : single
Public Const PositiveInfinity As Single  = Infinity

## 例

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

## 注釈

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

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

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