INumberBase<TSelf>.IsNegative(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 negative real number.
public:
static bool IsNegative(TSelf value);
public static abstract bool IsNegative (TSelf value);
static member IsNegative : 'Self -> bool
Public Shared Function IsNegative (value As TSelf) As Boolean
Parameters
- value
- TSelf
The value to be checked.
Returns
true
if value
represents negative zero or a negative real number; otherwise, false
.
Remarks
If this type has signed zero, then -0
is also considered negative.
A return value of false
does not imply that IsPositive(TSelf) will return true
. A complex number, a + bi
for non-zero b
, is not positive or negative
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.