Skip to main content

Module div

Module div 

Source
Expand description

Implementation of multiprecision integer division primitives.

Structs§

CtMpDivisor
Multiprecision integer divisor.

Enums§

CtDivMpMpError
Error returned by ct_div_mp_mp().
CtDivPow2MpError
Error returned by ct_div_pow2_mp().
CtModPow2MpError
Error returned by ct_mod_pow2_mp().
CtMpDivisorError
Error returned by CtMpDivisor::new().

Functions§

ct_div_lshifted_mp_mp
Divide a multiprecision integer shifted to the left by another one.
ct_div_mp_l
Divide a multiprecision integer by a LimbType.
ct_div_mp_mp
Divide two multiprecision integers.
ct_div_pow2_mp
Divide a power of two by a multiprecision integer.
ct_mod_lshifted_mp_mp
Compute the remainder of a multiprecision integer shifted to the left divided by another one.
ct_mod_mp_l
Compute the remainder of a multiprecision integer divided by a LimbType.
ct_mod_mp_mp
Compute the remainder of a multiprecision integer division.
ct_mod_pow2_mp
Compute the remainder of a power of two divided by a multiprecision integer.

Type Aliases§

CtDivLshiftedMpMpError
Error returned by ct_div_lshifted_mp_mp().
CtDivMpLError
Error returned by ct_div_mp_l().
CtModLshiftedMpMpError
Error returned by ct_mod_lshifted_mp_mp().