BigInteger

expect class BigInteger(value: String) : Number, Comparable<BigInteger>

An arbitrarily large signed integer

Parameters

value

the string representation of this large integer

actual class BigInteger(val value: String) : Number, Comparable<BigInteger>

Constructors

Link copied to clipboard
expect constructor(bytes: ByteArray)

Create an instance of BigInteger from a ByteArray

expect constructor(value: String)
actual constructor(bytes: ByteArray)
actual constructor(value: String)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
expect open operator override fun compareTo(other: BigInteger): Int
actual open operator override fun compareTo(other: BigInteger): Int
Link copied to clipboard
expect open operator override fun equals(other: Any?): Boolean
actual open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
expect open override fun hashCode(): Int
actual open override fun hashCode(): Int
Link copied to clipboard
expect operator fun minus(other: BigInteger): BigInteger
actual operator fun minus(other: BigInteger): BigInteger
Link copied to clipboard
expect operator fun plus(other: BigInteger): BigInteger
actual operator fun plus(other: BigInteger): BigInteger
Link copied to clipboard
expect open override fun toByte(): Byte
actual open override fun toByte(): Byte
Link copied to clipboard
expect fun toByteArray(): ByteArray
actual fun toByteArray(): ByteArray
Link copied to clipboard
expect open override fun toDouble(): Double
actual open override fun toDouble(): Double
Link copied to clipboard
expect open override fun toFloat(): Float
actual open override fun toFloat(): Float
Link copied to clipboard
expect open override fun toInt(): Int
actual open override fun toInt(): Int
Link copied to clipboard
expect open override fun toLong(): Long
actual open override fun toLong(): Long
Link copied to clipboard
expect open override fun toShort(): Short
actual open override fun toShort(): Short
Link copied to clipboard
expect open override fun toString(): String
actual open override fun toString(): String

Inherited functions

toChar
Link copied to clipboard
open fun toChar(): Char
open fun toChar(): Char