BigInteger.IsNegative(BigInteger) 方法

定义

确定值是否为负值。

public:
 static bool IsNegative(System::Numerics::BigInteger value) = System::Numerics::INumberBase<System::Numerics::BigInteger>::IsNegative;
public static bool IsNegative (System.Numerics.BigInteger value);
static member IsNegative : System.Numerics.BigInteger -> bool
Public Shared Function IsNegative (value As BigInteger) As Boolean

参数

value
BigInteger

要检查的值。

返回

true 如果 value 为负值,则为 ;否则为 false

实现

注解

的返回值 false 并不表示 IsPositive(TSelf) 将返回 true。 对于非零b,复数不是正数,也不是负数 a + bi

适用于