BigInteger.SetBit(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 set.
[Android.Runtime.Register("setBit", "(I)Ljava/math/BigInteger;", "GetSetBit_IHandler")]
public virtual Java.Math.BigInteger SetBit (int n);
[<Android.Runtime.Register("setBit", "(I)Ljava/math/BigInteger;", "GetSetBit_IHandler")>]
abstract member SetBit : int -> Java.Math.BigInteger
override this.SetBit : int -> Java.Math.BigInteger
Parameters
- n
- Int32
index of bit to set.
Returns
this | (1<<n)
- Attributes
Exceptions
if n
.
Remarks
Java documentation for java.math.BigInteger.setBit(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.