Upraviť

Zdieľať cez


BigInteger.IsPow2(BigInteger) Method

Definition

Determines if a value is a power of two.

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

Parameters

value
BigInteger

The value to be checked.

Returns

true if value is a power of two; otherwise, false.

Implements

Applies to