BigInteger.IsNegative(BigInteger) 方法

定義

判斷值是否為負值。

C#
public static bool IsNegative(System.Numerics.BigInteger value);

參數

value
BigInteger

要檢查的值。

傳回

true 如果 value 為負數,則為 ,否則為 false

實作

備註

false 回值不表示會傳 IsPositive(TSelf)true。 非零 b的複數a + bi不是正數或負數

適用於

產品 版本
.NET 7, 8, 9, 10