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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.