Int16.IsNegative(Int16) 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 is negative.
public:
static bool IsNegative(short value) = System::Numerics::INumberBase<short>::IsNegative;
public static bool IsNegative (short value);
static member IsNegative : int16 -> bool
Public Shared Function IsNegative (value As Short) As Boolean
Parameters
- value
- Int16
The value to be checked.
Returns
true
if value
is negative; otherwise, false
.
Implements
Remarks
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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.