Mono Class Library: System.Single Overview | Members

System.Single.IsPositiveInfinity Method

Determines whether the specified float represents a positive infinity value.

public static bool IsPositiveInfinity (float f)

Parameters

f
The float to be checked.

Returns

true if f represents a positive infinity value; otherwise false .

Remarks

Note: Floating-point operations return positive infinity values to signal an overflow condition.

Requirements

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