UInt64.IsPow2(UInt64) Yöntem

Tanım

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

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

Parametreler

value
UInt64

Denetlenecek değer.

Döndürülenler

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

Uygulamalar

Şunlara uygulanır