Mono Class Library: System.Double Overview | Members

System.Double.IsInfinity Method

Determines whether the specified double represents an infinity, which can be either positive or negative.

public static bool IsInfinity (double d)

Parameters

d
The double to be checked.

Returns

true if d represents a positive or negative infinity value; otherwise false.

Remarks

Note: Floating-point operations return positive or negative 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