BigInteger.IsPow2(BigInteger) Метод

Определение

Определяет, является ли значение двумя.

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

Параметры

value
BigInteger

Проверяемое значение.

Возвращаемое значение

true Значение , если value значение равно двум; в противном случае false.

Реализации

Применяется к