Modifica

Condividi tramite


Double.IsFinite(Double) Method

Definition

Determines whether the specified value is finite (zero, subnormal, or normal).

public:
 static bool IsFinite(double d);
public:
 static bool IsFinite(double d) = System::Numerics::INumberBase<double>::IsFinite;
public static bool IsFinite (double d);
static member IsFinite : double -> bool
Public Shared Function IsFinite (d As Double) As Boolean

Parameters

d
Double

A double-precision floating-point number.

Returns

true if the value is finite (zero, subnormal or normal); false otherwise.

Implements

Remarks

This effectively checks the value is not NaN and not infinite.

Applies to