BigInteger.IsPowerOfTwo Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets a value indicating whether a value is a power of two (2x).
Namespace: Microsoft.SolverFoundation.Common
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public ReadOnly Property IsPowerOfTwo As Boolean
public bool IsPowerOfTwo { get; }
public:
property bool IsPowerOfTwo {
bool get ();
}
member IsPowerOfTwo : bool
function get IsPowerOfTwo () : boolean
Property Value
Type: System.Boolean
true if the value is a power of two (2x); otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.