UInt128.IsPow2(UInt128) Metoda

Definice

Určuje, jestli je hodnota mocninou dvou.

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

Parametry

value
UInt128

Návraty

Boolean

true je-li value síla dvou; jinak, false.

Implementuje

Platí pro