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 if value represents negative zero or a negative real number; otherwise, false.

Hinweise

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

Ein Rückgabewert von false bedeutet nicht, dass IsPositive(TSelf) zurückgegeben truewird. Eine komplexe Zahl ist a + bi für ungleich Null bnicht positiv oder negativ.

Gilt für: