INumberBase<TSelf>.IsNegative(TSelf) Methode

Definition

Bestimmt, ob ein Wert eine negative reelle Zahl darstellt.

public:
 static bool IsNegative(TSelf value);
public static abstract bool IsNegative (TSelf value);
static member IsNegative : 'Self -> bool
Public Shared Function IsNegative (value As TSelf) As Boolean

Parameter

value
TSelf

Der zu überprüfende Wert.

Gibt zurück

true , wenn value eine negative Null oder eine negative reelle Zahl darstellt, falseandernfalls .

Hinweise

Wenn dieser Typ 0 signiert hat, -0 wird auch als negativ betrachtet.

Ein Rückgabewert von false bedeutet nicht, dass IsPositive(TSelf) zurückgibt true. Eine komplexe Zahl a + bi für ungleich 0 bist nicht positiv oder negativ.

Gilt für: