Mono Class Library: System.Single Overview | Members

System.Single.PositiveInfinity Field

Represents a positive infinity of type float.

Value: Infinity

public const float PositiveInfinity

Remarks

The value of this constant can be obtained by dividing a positive float by zero.

Note: To test whether a float value is a positive infinity value, use the float.IsPositiveInfinity(float) method.

Requirements

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