Java.Math.BigInteger.BitLength Method
Returns the length of the value's two's complement representation without leading zeros for positive numbers / without leading ones for negative values.

Syntax

[Android.Runtime.Register("bitLength", "()I", "GetBitLengthHandler")]
public virtual int BitLength ()

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the length of the value's two's complement representation without leading zeros for positive numbers / without leading ones for negative values.

The two's complement representation of this will be at least bitLength() + 1 bits long.

The value will fit into an int if bitLength() or into a long if bitLength() .

[Android Documentation]

Requirements

Namespace: Java.Math
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1