Condividi tramite


BigInteger.ClearBit(Int32) Method

Definition

Returns a BigInteger whose value is equivalent to this BigInteger with the designated bit cleared.

[Android.Runtime.Register("clearBit", "(I)Ljava/math/BigInteger;", "GetClearBit_IHandler")]
public virtual Java.Math.BigInteger ClearBit (int n);
[<Android.Runtime.Register("clearBit", "(I)Ljava/math/BigInteger;", "GetClearBit_IHandler")>]
abstract member ClearBit : int -> Java.Math.BigInteger
override this.ClearBit : int -> Java.Math.BigInteger

Parameters

n
Int32

index of bit to clear.

Returns

this & ~(1<<n)

Attributes

Exceptions

Remarks

Java documentation for java.math.BigInteger.clearBit(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to