PositiveInfinity Field

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents positive infinity. This field is constant.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Const PositiveInfinity As Double
public const double PositiveInfinity
public:
literal double PositiveInfinity
static val mutable PositiveInfinity: float
public const var PositiveInfinity : double

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 MaxValue.

Use IsPositiveInfinity to determine whether a value evaluates to positive infinity. It is not possible to determine whether a value evaluates to positive infinity by comparing it to another value equal to PositiveInfinity.

.NET Framework Security

See Also

Reference

Double Structure

System Namespace