Språk

Int128.IsNegative(Int128) Metod

Definition

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

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

Parametrar

value
Int128

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