UInt64.IsPow2(UInt64) Methode

Definitie

Bepaalt of een waarde een macht van twee is.

public:
 static bool IsPow2(System::UInt64 value) = System::Numerics::IBinaryNumber<System::UInt64>::IsPow2;
public static bool IsPow2(ulong value);
static member IsPow2 : uint64 -> bool
Public Shared Function IsPow2 (value As ULong) As Boolean

Parameters

value
UInt64

De waarde die moet worden gecontroleerd.

Retouren

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

Implementeringen

Van toepassing op