INumberBase<TSelf>.IsPositive(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 zero or a positive real number.
public:
static bool IsPositive(TSelf value);
public static abstract bool IsPositive (TSelf value);
static member IsPositive : 'Self -> bool
Public Shared Function IsPositive (value As TSelf) As Boolean
Parameters
- value
- TSelf
The value to be checked.
Returns
true
if value
represents (positive) zero or a positive real number; otherwise, false
.
Remarks
If this type has signed zero, then -0
is not considered positive, but +0
is.
A return value of false
does not imply that IsNegative(TSelf) will return true
. A complex number, a + bi
for non-zero b
, is not positive or negative
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor