Int64.IsPow2(Int64) Yöntem

Tanım

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

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

Parametreler

value
Int64

Denetlenecek değer.

Döndürülenler

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

Uygulamalar

Şunlara uygulanır