System.Double.PositiveInfinity Field

Represents positive infinity. This field is constant.

Value: Infinity


public const double PositiveInfinity


The value of this constant is the result of dividing a positive number by zero.

This constant is returned when the result of an operation is greater than double.MaxValue.

Use double.IsPositiveInfinity(double) to determine whether a value evaluates to positive infinity.


Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0,,