big-numbers
0.1.0
big-numbers
/
io.klibs.math.big
Package-level
declarations
Types
Functions
Types
Big
Int
Link copied to clipboard
interface
BigInt
Number
Cast
Exception
Link copied to clipboard
class
NumberCastException
:
Throwable
Functions
and
Link copied to clipboard
infix inline
fun
BigInt
.
and
(
rhs
:
Byte
)
:
BigInt
infix inline
fun
BigInt
.
and
(
rhs
:
Int
)
:
BigInt
infix inline
fun
BigInt
.
and
(
rhs
:
Long
)
:
BigInt
infix inline
fun
BigInt
.
and
(
rhs
:
Short
)
:
BigInt
infix inline
fun
BigInt
.
and
(
rhs
:
UByte
)
:
BigInt
infix inline
fun
BigInt
.
and
(
rhs
:
UInt
)
:
BigInt
infix inline
fun
BigInt
.
and
(
rhs
:
ULong
)
:
BigInt
infix inline
fun
BigInt
.
and
(
rhs
:
UShort
)
:
BigInt
and
Not
Link copied to clipboard
infix inline
fun
BigInt
.
andNot
(
rhs
:
Byte
)
:
BigInt
infix inline
fun
BigInt
.
andNot
(
rhs
:
Int
)
:
BigInt
infix inline
fun
BigInt
.
andNot
(
rhs
:
Long
)
:
BigInt
infix inline
fun
BigInt
.
andNot
(
rhs
:
Short
)
:
BigInt
infix inline
fun
BigInt
.
andNot
(
rhs
:
UByte
)
:
BigInt
infix inline
fun
BigInt
.
andNot
(
rhs
:
UInt
)
:
BigInt
infix inline
fun
BigInt
.
andNot
(
rhs
:
ULong
)
:
BigInt
infix inline
fun
BigInt
.
andNot
(
rhs
:
UShort
)
:
BigInt
big
Int
Of
Link copied to clipboard
fun
bigIntOf
(
value
:
Byte
)
:
BigInt
fun
bigIntOf
(
value
:
Int
)
:
BigInt
fun
bigIntOf
(
value
:
Long
)
:
BigInt
fun
bigIntOf
(
value
:
Short
)
:
BigInt
fun
bigIntOf
(
value
:
UByte
)
:
BigInt
fun
bigIntOf
(
value
:
UInt
)
:
BigInt
fun
bigIntOf
(
value
:
ULong
)
:
BigInt
fun
bigIntOf
(
value
:
UShort
)
:
BigInt
fun
bigIntOf
(
value
:
String
,
radix
:
Int
=
10
)
:
BigInt
div
Link copied to clipboard
inline operator
fun
BigInt
.
div
(
rhs
:
Byte
)
:
BigInt
inline operator
fun
BigInt
.
div
(
rhs
:
Int
)
:
BigInt
inline operator
fun
BigInt
.
div
(
rhs
:
Long
)
:
BigInt
inline operator
fun
BigInt
.
div
(
rhs
:
Short
)
:
BigInt
inline operator
fun
BigInt
.
div
(
rhs
:
UByte
)
:
BigInt
inline operator
fun
BigInt
.
div
(
rhs
:
UInt
)
:
BigInt
inline operator
fun
BigInt
.
div
(
rhs
:
ULong
)
:
BigInt
inline operator
fun
BigInt
.
div
(
rhs
:
UShort
)
:
BigInt
minus
Link copied to clipboard
inline operator
fun
BigInt
.
minus
(
rhs
:
Byte
)
:
BigInt
inline operator
fun
BigInt
.
minus
(
rhs
:
Int
)
:
BigInt
inline operator
fun
BigInt
.
minus
(
rhs
:
Long
)
:
BigInt
inline operator
fun
BigInt
.
minus
(
rhs
:
Short
)
:
BigInt
inline operator
fun
BigInt
.
minus
(
rhs
:
UByte
)
:
BigInt
inline operator
fun
BigInt
.
minus
(
rhs
:
UInt
)
:
BigInt
inline operator
fun
BigInt
.
minus
(
rhs
:
ULong
)
:
BigInt
inline operator
fun
BigInt
.
minus
(
rhs
:
UShort
)
:
BigInt
or
Link copied to clipboard
infix inline
fun
BigInt
.
or
(
rhs
:
Byte
)
:
BigInt
infix inline
fun
BigInt
.
or
(
rhs
:
Int
)
:
BigInt
infix inline
fun
BigInt
.
or
(
rhs
:
Long
)
:
BigInt
infix inline
fun
BigInt
.
or
(
rhs
:
Short
)
:
BigInt
infix inline
fun
BigInt
.
or
(
rhs
:
UByte
)
:
BigInt
infix inline
fun
BigInt
.
or
(
rhs
:
UInt
)
:
BigInt
infix inline
fun
BigInt
.
or
(
rhs
:
ULong
)
:
BigInt
infix inline
fun
BigInt
.
or
(
rhs
:
UShort
)
:
BigInt
plus
Link copied to clipboard
inline operator
fun
BigInt
.
plus
(
rhs
:
Byte
)
:
BigInt
inline operator
fun
BigInt
.
plus
(
rhs
:
Int
)
:
BigInt
inline operator
fun
BigInt
.
plus
(
rhs
:
Long
)
:
BigInt
inline operator
fun
BigInt
.
plus
(
rhs
:
Short
)
:
BigInt
inline operator
fun
BigInt
.
plus
(
rhs
:
UByte
)
:
BigInt
inline operator
fun
BigInt
.
plus
(
rhs
:
UInt
)
:
BigInt
inline operator
fun
BigInt
.
plus
(
rhs
:
ULong
)
:
BigInt
inline operator
fun
BigInt
.
plus
(
rhs
:
UShort
)
:
BigInt
rem
Link copied to clipboard
inline operator
fun
BigInt
.
rem
(
rhs
:
Byte
)
:
BigInt
inline operator
fun
BigInt
.
rem
(
rhs
:
Int
)
:
BigInt
inline operator
fun
BigInt
.
rem
(
rhs
:
Long
)
:
BigInt
inline operator
fun
BigInt
.
rem
(
rhs
:
Short
)
:
BigInt
inline operator
fun
BigInt
.
rem
(
rhs
:
UByte
)
:
BigInt
inline operator
fun
BigInt
.
rem
(
rhs
:
UInt
)
:
BigInt
inline operator
fun
BigInt
.
rem
(
rhs
:
ULong
)
:
BigInt
inline operator
fun
BigInt
.
rem
(
rhs
:
UShort
)
:
BigInt
times
Link copied to clipboard
inline operator
fun
BigInt
.
times
(
rhs
:
Byte
)
:
BigInt
inline operator
fun
BigInt
.
times
(
rhs
:
Int
)
:
BigInt
inline operator
fun
BigInt
.
times
(
rhs
:
Long
)
:
BigInt
inline operator
fun
BigInt
.
times
(
rhs
:
Short
)
:
BigInt
inline operator
fun
BigInt
.
times
(
rhs
:
UByte
)
:
BigInt
inline operator
fun
BigInt
.
times
(
rhs
:
UInt
)
:
BigInt
inline operator
fun
BigInt
.
times
(
rhs
:
ULong
)
:
BigInt
inline operator
fun
BigInt
.
times
(
rhs
:
UShort
)
:
BigInt
to
Big
Int
Link copied to clipboard
fun
Byte
.
toBigInt
(
)
:
BigInt
fun
Int
.
toBigInt
(
)
:
BigInt
fun
Long
.
toBigInt
(
)
:
BigInt
fun
Short
.
toBigInt
(
)
:
BigInt
fun
UByte
.
toBigInt
(
)
:
BigInt
fun
UInt
.
toBigInt
(
)
:
BigInt
fun
ULong
.
toBigInt
(
)
:
BigInt
fun
UShort
.
toBigInt
(
)
:
BigInt
fun
String
.
toBigInt
(
radix
:
Int
=
10
)
:
BigInt
xor
Link copied to clipboard
infix inline
fun
BigInt
.
xor
(
rhs
:
Byte
)
:
BigInt
infix inline
fun
BigInt
.
xor
(
rhs
:
Int
)
:
BigInt
infix inline
fun
BigInt
.
xor
(
rhs
:
Long
)
:
BigInt
infix inline
fun
BigInt
.
xor
(
rhs
:
Short
)
:
BigInt
infix inline
fun
BigInt
.
xor
(
rhs
:
UByte
)
:
BigInt
infix inline
fun
BigInt
.
xor
(
rhs
:
UInt
)
:
BigInt
infix inline
fun
BigInt
.
xor
(
rhs
:
ULong
)
:
BigInt
infix inline
fun
BigInt
.
xor
(
rhs
:
UShort
)
:
BigInt