|
STATIC size_t | mpn_remove_trailing_zeros (mpz_dig_t *oidig, mpz_dig_t *idig) |
|
STATIC int | mpn_cmp (const mpz_dig_t *idig, size_t ilen, const mpz_dig_t *jdig, size_t jlen) |
|
STATIC size_t | mpn_shl (mpz_dig_t *idig, mpz_dig_t *jdig, size_t jlen, mp_uint_t n) |
|
STATIC size_t | mpn_shr (mpz_dig_t *idig, mpz_dig_t *jdig, size_t jlen, mp_uint_t n) |
|
STATIC size_t | mpn_add (mpz_dig_t *idig, const mpz_dig_t *jdig, size_t jlen, const mpz_dig_t *kdig, size_t klen) |
|
STATIC size_t | mpn_sub (mpz_dig_t *idig, const mpz_dig_t *jdig, size_t jlen, const mpz_dig_t *kdig, size_t klen) |
|
STATIC size_t | mpn_and_neg (mpz_dig_t *idig, const mpz_dig_t *jdig, size_t jlen, const mpz_dig_t *kdig, size_t klen, mpz_dbl_dig_t carryi, mpz_dbl_dig_t carryj, mpz_dbl_dig_t carryk) |
|
STATIC size_t | mpn_or_neg (mpz_dig_t *idig, const mpz_dig_t *jdig, size_t jlen, const mpz_dig_t *kdig, size_t klen, mpz_dbl_dig_t carryi, mpz_dbl_dig_t carryj, mpz_dbl_dig_t carryk) |
|
STATIC size_t | mpn_xor_neg (mpz_dig_t *idig, const mpz_dig_t *jdig, size_t jlen, const mpz_dig_t *kdig, size_t klen, mpz_dbl_dig_t carryi, mpz_dbl_dig_t carryj, mpz_dbl_dig_t carryk) |
|
STATIC size_t | mpn_mul_dig_add_dig (mpz_dig_t *idig, size_t ilen, mpz_dig_t dmul, mpz_dig_t dadd) |
|
STATIC size_t | mpn_mul (mpz_dig_t *idig, mpz_dig_t *jdig, size_t jlen, mpz_dig_t *kdig, size_t klen) |
|
STATIC void | mpn_div (mpz_dig_t *num_dig, size_t *num_len, const mpz_dig_t *den_dig, size_t den_len, mpz_dig_t *quo_dig, size_t *quo_len) |
|
void | mpz_init_zero (mpz_t *z) |
|
void | mpz_init_from_int (mpz_t *z, mp_int_t val) |
|
void | mpz_init_fixed_from_int (mpz_t *z, mpz_dig_t *dig, size_t alloc, mp_int_t val) |
|
void | mpz_deinit (mpz_t *z) |
|
STATIC void | mpz_free (mpz_t *z) |
|
STATIC void | mpz_need_dig (mpz_t *z, size_t need) |
|
STATIC mpz_t * | mpz_clone (const mpz_t *src) |
|
void | mpz_set (mpz_t *dest, const mpz_t *src) |
|
void | mpz_set_from_int (mpz_t *z, mp_int_t val) |
|
void | mpz_set_from_ll (mpz_t *z, long long val, bool is_signed) |
|
size_t | mpz_set_from_str (mpz_t *z, const char *str, size_t len, bool neg, unsigned int base) |
|
void | mpz_set_from_bytes (mpz_t *z, bool big_endian, size_t len, const byte *buf) |
|
int | mpz_cmp (const mpz_t *z1, const mpz_t *z2) |
|
void | mpz_abs_inpl (mpz_t *dest, const mpz_t *z) |
|
void | mpz_neg_inpl (mpz_t *dest, const mpz_t *z) |
|
void | mpz_not_inpl (mpz_t *dest, const mpz_t *z) |
|
void | mpz_shl_inpl (mpz_t *dest, const mpz_t *lhs, mp_uint_t rhs) |
|
void | mpz_shr_inpl (mpz_t *dest, const mpz_t *lhs, mp_uint_t rhs) |
|
void | mpz_add_inpl (mpz_t *dest, const mpz_t *lhs, const mpz_t *rhs) |
|
void | mpz_sub_inpl (mpz_t *dest, const mpz_t *lhs, const mpz_t *rhs) |
|
void | mpz_and_inpl (mpz_t *dest, const mpz_t *lhs, const mpz_t *rhs) |
|
void | mpz_or_inpl (mpz_t *dest, const mpz_t *lhs, const mpz_t *rhs) |
|
void | mpz_xor_inpl (mpz_t *dest, const mpz_t *lhs, const mpz_t *rhs) |
|
void | mpz_mul_inpl (mpz_t *dest, const mpz_t *lhs, const mpz_t *rhs) |
|
void | mpz_pow_inpl (mpz_t *dest, const mpz_t *lhs, const mpz_t *rhs) |
|
void | mpz_pow3_inpl (mpz_t *dest, const mpz_t *lhs, const mpz_t *rhs, const mpz_t *mod) |
|
void | mpz_divmod_inpl (mpz_t *dest_quo, mpz_t *dest_rem, const mpz_t *lhs, const mpz_t *rhs) |
|
mp_int_t | mpz_hash (const mpz_t *z) |
|
bool | mpz_as_int_checked (const mpz_t *i, mp_int_t *value) |
|
bool | mpz_as_uint_checked (const mpz_t *i, mp_uint_t *value) |
|
void | mpz_as_bytes (const mpz_t *z, bool big_endian, size_t len, byte *buf) |
|
size_t | mpz_as_str_inpl (const mpz_t *i, unsigned int base, const char *prefix, char base_char, char comma, char *str) |
|