BitsToExpress Method (Number)
Cove - A Practical Quantum Computer Programming Framework
BitsToExpress Method (Number)
NamespacesCove.BaseUtilitiesBitsToExpress(Int64)
Gets the number of bits needed to express the number as an unsigned long.
Declaration Syntax
C#Visual BasicVisual C++
public static int BitsToExpress(
	long Number
)
Public Shared Function BitsToExpress ( _
	Number As Long _
) As Integer
public:
static int BitsToExpress(
	long long Number
)
Parameters
Number (Int64)
The number to see how many bits are needed to express it.
Return Value
Number of bits needed to express the number as an unsigned long.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if Number is less than zero.

Assembly: Cove.Base (Module: Cove.Base) Version: 1.0.0.0 (1.0.0.0)