System.Single.PositiveInfinity Field

Represents positive infinity. This field is constant.

Value: Infinity


public const float 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 float.MaxValue.

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


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