System.Single.NegativeInfinity Field

Represents negative infinity. This field is constant.

Value: -Infinity

Syntax

public const float NegativeInfinity

Remarks

The value of this constant is the result of dividing a negative number by zero.

This constant is returned when the result of an operation is less than float.MinValue.

Use float.IsNegativeInfinity(float) to determine whether a value evaluates to negative infinity.

Requirements

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