UIntPtr.IsPow2(UIntPtr) Methode

Definitie

Bepaalt of een waarde een macht van twee is.

public:
 static bool IsPow2(UIntPtr value) = System::Numerics::IBinaryNumber<UIntPtr>::IsPow2;
public static bool IsPow2(UIntPtr value);
static member IsPow2 : unativeint -> bool
Public Shared Function IsPow2 (value As UIntPtr) As Boolean

Parameters

value
UIntPtr

unativeint

De waarde die moet worden gecontroleerd.

Retouren

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

Implementeringen

Van toepassing op