INumberBase<TSelf>.IsInfinity(TSelf) Method

Definition

Determines if a value is infinite.

C#
public static abstract bool IsInfinity(TSelf value);

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

Proizvod Verzije
.NET 7, 8, 9, 10