The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
BigInt.divMod
mir
bignum
integer
BigInt
struct
BigInt
(uint size64)
@
safe
ref const @
trusted
pure nothrow @
nogc
scope return
ref
divMod
(
uint
divisorSize64
uint
remainderSize
=
size64
)
(
scope
ref
const
BigInt
!
divisorSize64
divisor
,
scope
ref
BigInt
!
size64
quotient
,
scope
ref
BigInt
!
remainderSize
remainder
)
if
(
remainderSize
>=
divisorSize64
)
if
(
size64
&&
size64
<= ushort.
max
)
Meta
Source
See Implementation
mir
bignum
integer
BigInt
constructors
this
functions
bitLength
coefficients
copy
copyFrom
copyFromBigEndian
ctlz
divMod
fromBinaryStringImpl
fromHexStringImpl
fromStringImpl
mulPow5
multiply
normalize
opAssign
opCast
opCmp
opEquals
opOpAssign
pow
powMod
putCoefficient
toString
view
static functions
fromBigEndian
fromBinaryString
fromHexString
variables
data
length
sign