UInt32.IsPow2(UInt32) Yöntem

Tanım

Bir değerin ikinin gücü olup olmadığını belirler.

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

Parametreler

value
UInt32

Denetlenecek değer.

Döndürülenler

true iki güç ise value ; değilse, false.

Uygulamalar

Şunlara uygulanır