INumberBase<TSelf>.IsNegative(TSelf) Methode

Definitie

Bepaalt of een waarde een negatief reëel getal vertegenwoordigt.

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

Parameters

value
TSelf

De waarde die moet worden gecontroleerd.

Retouren

trueals value een negatieve nul of een negatief reëel getal vertegenwoordigt; anders. false

Opmerkingen

Als dit type nul heeft ondertekend, wordt dit -0 ook als negatief beschouwd.

Een retourwaarde van false impliceert niet dat deze IsPositive(TSelf) retourneert true. Een complex getal, a + bi voor niet-nul b, is niet positief of negatief

Van toepassing op