Java.Math.BigInteger.ClearBit Method
Returns a BigInteger which has the same binary representation as this but with the bit at position n cleared.

Syntax

[Android.Runtime.Register("clearBit", "(I)Ljava/math/BigInteger;", "GetClearBit_IHandler")]
public virtual BigInteger ClearBit (int n)

Parameters

n
position where the bit in this has to be cleared.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.ArithmeticExceptionif n .

Remarks

Returns a BigInteger which has the same binary representation as this but with the bit at position n cleared. The result is equivalent to this & ~pow(2, n).

Implementation Note: Usage of this method is not recommended as the current implementation is not efficient.

[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