BigInteger.IsNegative(BigInteger) Metod

Definition

Avgör om ett värde är negativt.

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

Parametrar

value
BigInteger

Det värde som ska kontrolleras.

Returer

true om value är negativ, annars false.

Implementeringar

Kommentarer

Ett returvärde för false innebär inte att returnera IsPositive(TSelf)true. Ett komplext tal, a + bi för icke-noll b, är inte positivt eller negativt

Gäller för