INumberBase<TSelf>.IsRealNumber(TSelf) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.