BigInt

class BigInt : Comparable<BigInt>

Types

Companion
Link copied to clipboard
common
object Companion

Functions

abs
Link copied to clipboard
common
fun abs(): BigInt
and
Link copied to clipboard
common
infix fun and(other: BigInt): BigInt
compareTo
Link copied to clipboard
common
open operator override fun compareTo(other: BigInt): Int
div
Link copied to clipboard
common
operator fun div(other: Int): BigInt
operator fun div(other: UInt): BigInt
operator fun div(other: BigInt): BigInt
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
minus
Link copied to clipboard
common
operator fun minus(b: BigInt): BigInt
modPow
Link copied to clipboard
common
fun modPow(exponent: BigInt, m: BigInt): BigInt
or
Link copied to clipboard
common
infix fun or(other: BigInt): BigInt
plus
Link copied to clipboard
common
operator fun plus(b: BigInt): BigInt
rem
Link copied to clipboard
common
operator fun rem(other: Int): Int
operator fun rem(other: BigInt): BigInt
shl
Link copied to clipboard
common
infix fun shl(i: Int): BigInt
shr
Link copied to clipboard
common
infix fun shr(i: Int): BigInt
times
Link copied to clipboard
common
operator fun times(other: Int): BigInt
operator fun times(other: UInt): BigInt
operator fun times(b: BigInt): BigInt
toString
Link copied to clipboard
common
open override fun toString(): String
unaryMinus
Link copied to clipboard
common
operator fun unaryMinus(): BigInt

Extensions

div
Link copied to clipboard
common
open operator fun BigInt.div(k: Number): BigInt
Division of this element by scalar.
open operator fun BigInt.div(b: BigInt): BigInt
Division of two elements.
minus
Link copied to clipboard
common
open operator fun BigInt.minus(b: BigInt): BigInt
Subtraction of two elements.
open operator fun BigInt.minus(b: Number): BigInt
Subtraction of element from number.
plus
Link copied to clipboard
common
open operator fun BigInt.plus(b: BigInt): BigInt
Addition of two elements.
open operator fun BigInt.plus(b: Number): BigInt
Addition of element and scalar.
times
Link copied to clipboard
common
open operator fun BigInt.times(k: Number): BigInt
Multiplication of this element by a scalar.
open operator fun BigInt.times(b: BigInt): BigInt
Multiplies this element by scalar.
unaryMinus
Link copied to clipboard
common
open operator fun BigInt.unaryMinus(): BigInt
The negation of this element.
unaryPlus
Link copied to clipboard
common
open operator fun BigInt.unaryPlus(): BigInt
Returns this value.