Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.