Redigeeri

Jagamisviis:


INumberBase<TSelf>.IsInfinity(TSelf) Method

Definition

Determines if a value is infinite.

public:
 static bool IsInfinity(TSelf value);
public static abstract bool IsInfinity (TSelf value);
static member IsInfinity : 'Self -> bool
Public Shared Function IsInfinity (value As TSelf) As Boolean

Parameters

value
TSelf

The value to be checked.

Returns

true if value is infinite; otherwise, false.

Remarks

A return value of false does not imply that IsFinite(TSelf) will return true. NaN is not finite or infinite.

Applies to