System.Double.PositiveInfinity Field

Represents positive infinity. This field is constant.

Value: Infinity

Syntax

public const double PositiveInfinity

Remarks

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.

Requirements

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