IBinaryNumber<TSelf>.IsPow2(TSelf) Methode

Definitie

Bepaalt of een waarde een macht van twee is.

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

Parameters

value
TSelf

De waarde die moet worden gecontroleerd.

Retouren

trueals value het een macht van twee is, anders. false

Van toepassing op