- __gmpz_abs
void __gmpz_abs(mpz_ptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_add
void __gmpz_add(mpz_ptr , mpz_srcptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_add_ui
void __gmpz_add_ui(mpz_ptr , mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_addmul
void __gmpz_addmul(mpz_ptr , mpz_srcptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_addmul_ui
void __gmpz_addmul_ui(mpz_ptr , mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_and
void __gmpz_and(mpz_ptr , mpz_srcptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_cdiv_q_ui
void __gmpz_cdiv_q_ui(mpz_ptr , mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_cdiv_qr_ui
void __gmpz_cdiv_qr_ui(mpz_ptr , mpz_ptr , mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_cdiv_r_ui
ulong __gmpz_cdiv_r_ui(mpz_ptr , mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_cdiv_ui
void __gmpz_cdiv_ui(mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_clear
void __gmpz_clear(mpz_ptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_cmp
int __gmpz_cmp(mpz_srcptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_cmp_d
int __gmpz_cmp_d(mpz_srcptr , double )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_cmp_si
int __gmpz_cmp_si(mpz_srcptr , long )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_cmp_ui
int __gmpz_cmp_ui(mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_cmpabs
int __gmpz_cmpabs(mpz_srcptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_cmpabs_d
int __gmpz_cmpabs_d(mpz_srcptr , double )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_cmpabs_ui
int __gmpz_cmpabs_ui(mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_com
void __gmpz_com(mpz_ptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_fdiv_q_ui
void __gmpz_fdiv_q_ui(mpz_ptr , mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_fdiv_qr_ui
void __gmpz_fdiv_qr_ui(mpz_ptr , mpz_ptr , mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_fdiv_r_ui
ulong __gmpz_fdiv_r_ui(mpz_ptr , mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_fdiv_ui
void __gmpz_fdiv_ui(mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_fits_sint_p
int __gmpz_fits_sint_p(mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_fits_slong_p
int __gmpz_fits_slong_p(mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_fits_sshort_p
int __gmpz_fits_sshort_p(mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_fits_uint_p
int __gmpz_fits_uint_p(mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_fits_ulong_p
int __gmpz_fits_ulong_p(mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_fits_ushort_p
int __gmpz_fits_ushort_p(mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_gcd
void __gmpz_gcd(mpz_ptr , mpz_srcptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_gcd_ui
ulong __gmpz_gcd_ui(mpz_ptr , mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_get_d
double __gmpz_get_d(mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_get_si
long __gmpz_get_si(mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_get_str
char* __gmpz_get_str(char* , int , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_get_ui
ulong __gmpz_get_ui(mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_init
void __gmpz_init(mpz_ptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_init_set
void __gmpz_init_set(mpz_ptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_init_set_d
void __gmpz_init_set_d(mpz_ptr , double )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_init_set_si
void __gmpz_init_set_si(mpz_ptr , long )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_init_set_str
int __gmpz_init_set_str(mpz_ptr , char* , int )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_init_set_ui
void __gmpz_init_set_ui(mpz_ptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_ior
void __gmpz_ior(mpz_ptr , mpz_srcptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_lcm
void __gmpz_lcm(mpz_ptr , mpz_srcptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_lcm_ui
void __gmpz_lcm_ui(mpz_ptr , mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_mod
void __gmpz_mod(mpz_ptr , mpz_srcptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_mul
void __gmpz_mul(mpz_ptr , mpz_srcptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_mul_2exp
void __gmpz_mul_2exp(mpz_ptr , mpz_srcptr , mp_bitcnt_t )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_mul_si
void __gmpz_mul_si(mpz_ptr , mpz_srcptr , long )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_mul_ui
void __gmpz_mul_ui(mpz_ptr , mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_neg
void __gmpz_neg(mpz_ptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_nextprime
void __gmpz_nextprime(mpz_ptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_perfect_power_p
void __gmpz_perfect_power_p(mpz_ptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_pow_ui
void __gmpz_pow_ui(mpz_ptr , mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_powm
void __gmpz_powm(mpz_ptr , mpz_srcptr , mpz_srcptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_powm_ui
void __gmpz_powm_ui(mpz_ptr , mpz_srcptr , ulong , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_root
void __gmpz_root(mpz_ptr , mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_rootrem
void __gmpz_rootrem(mpz_ptr , mpz_ptr , mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_set
void __gmpz_set(mpz_ptr rop, mpz_srcptr op)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_set_d
void __gmpz_set_d(mpz_ptr rop, double op)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_set_si
void __gmpz_set_si(mpz_ptr rop, long op)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_set_str
int __gmpz_set_str(mpz_ptr , char* , int )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_set_ui
void __gmpz_set_ui(mpz_ptr rop, ulong op)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_sizeinbase
size_t __gmpz_sizeinbase(mpz_srcptr , int )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_sqrt
void __gmpz_sqrt(mpz_ptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_sqrtrem
void __gmpz_sqrtrem(mpz_ptr , mpz_ptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_sub
void __gmpz_sub(mpz_ptr , mpz_srcptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_sub_ui
void __gmpz_sub_ui(mpz_ptr , mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_swap
void __gmpz_swap(mpz_ptr , mpz_ptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_tdiv_q
void __gmpz_tdiv_q(mpz_ptr , mpz_srcptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_tdiv_q_ui
void __gmpz_tdiv_q_ui(mpz_ptr , mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_tdiv_qr_ui
void __gmpz_tdiv_qr_ui(mpz_ptr , mpz_ptr , mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_tdiv_r
void __gmpz_tdiv_r(mpz_ptr , mpz_srcptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_tdiv_r_ui
ulong __gmpz_tdiv_r_ui(mpz_ptr , mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_tdiv_ui
void __gmpz_tdiv_ui(mpz_srcptr , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_ui_pow_ui
void __gmpz_ui_pow_ui(mpz_ptr , ulong , ulong )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_ui_sub
void __gmpz_ui_sub(mpz_ptr , ulong , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- __gmpz_xor
void __gmpz_xor(mpz_ptr , mpz_srcptr , mpz_srcptr )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- _integralAbs
T _integralAbs(T x)
Copied from std.numeric to prevent unnecessary Phobos deps.
- abs
MpZ abs(MpZ x)
- absUnsign
Unsigned!T absUnsign(MpZ x)
- cmpabs
int cmpabs(MpZ x, ulong y)
int cmpabs(MpZ x, double y)
- cmpabs
int cmpabs(MpZ x, MpZ y)
- gcd
MpZ gcd(MpZ x, ulong y)
- gcd
MpZ gcd(MpZ x, MpZ y)
- lcm
MpZ lcm(MpZ x, ulong y)
- lcm
MpZ lcm(MpZ x, MpZ y)
- mpz
MpZ mpz(Args args)
- mpzAddExpr
MpzAddExpr!(T1, T2) mpzAddExpr(T1 t1, T2 t2)
Instantiator for MpzAddExpr.
- nextPrime
MpZ nextPrime(MpZ x)
- powm
MpZ powm(MpZ base, ulong exp, MpZ mod)
- powm
MpZ powm(MpZ base, MpZ exp, MpZ mod)
- swap
void swap(MpZ x, MpZ y)
Swap contents of x with contents of y.
- toDecimalString
string toDecimalString(MpZ x)
- toHex
string toHex(MpZ x)
High-level wrapper for GNU Multiple Precision (MP) library.
TODO _ccc Make _ccc two => uint _initCCC and uint _opCCC, mutatingCallCount return their sum. Use these counters to make more precise asserts on how assignments and operators are lowered to calls to C __gmpz-calls
TODO disallow construction and assignment from floating point? Check with other GMP interfaces and std.bigint.
TODO Should in operator be used for anything good?
TODO Support operators << >> >>> &= |= ^=