setBit method

BigInt setBit(
  1. int bit
)

Set the bit to 1 at the given position

Implementation

BigInt setBit(int bit) {
  return this | BigInt.one << bit;
}