Rediger

Del via


INumberBase<TSelf>.IsRealNumber(TSelf) Method

Definition

Determines if a value represents a real number.

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

Parameters

value
TSelf

The value to be checked.

Returns

true if value is a real number; otherwise, false.

Remarks

This function returns true for a complex number a + bi where b is zero.

This function checks values against the extended real number line, thus returns true for positive and negative infinity.

Applies to