BigInteger.FlipBit(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a BigInteger whose value is equivalent to this BigInteger with the designated bit flipped.
[Android.Runtime.Register("flipBit", "(I)Ljava/math/BigInteger;", "GetFlipBit_IHandler")]
public virtual Java.Math.BigInteger FlipBit (int n);
[<Android.Runtime.Register("flipBit", "(I)Ljava/math/BigInteger;", "GetFlipBit_IHandler")>]
abstract member FlipBit : int -> Java.Math.BigInteger
override this.FlipBit : int -> Java.Math.BigInteger
Parameters
- n
- Int32
index of bit to flip.
Returns
this ^ (1<<n)
- Attributes
Exceptions
if n
.
Remarks
Java documentation for java.math.BigInteger.flipBit(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.