Polly 20.0.0git
|
#include <inttypes.h>
#include <limits.h>
#include <stdint.h>
#include <stdlib.h>
#include <isl_imath.h>
#include <isl/hash.h>
Go to the source code of this file.
Classes | |
struct | isl_sioimath_scratchspace_t |
Typedefs | |
typedef uintptr_t | isl_sioimath |
typedef isl_sioimath * | isl_sioimath_ptr |
typedef isl_sioimath | isl_sioimath_src |
typedef isl_sioimath | isl_int[1] |
#define ARRAY_SIZE | ( | array | ) | (sizeof(array)/sizeof(*array)) |
Definition at line 21 of file isl_int_sioimath.h.
#define isl_int_abs | ( | r, | |
i | |||
) | isl_sioimath_abs((r), *(i)) |
Definition at line 1202 of file isl_int_sioimath.h.
#define isl_int_abs_cmp | ( | i, | |
j | |||
) | isl_sioimath_abs_cmp(*(i), *(j)) |
Definition at line 1242 of file isl_int_sioimath.h.
#define isl_int_abs_eq | ( | i, | |
j | |||
) | (isl_sioimath_abs_cmp(*(i), *(j)) == 0) |
Definition at line 1243 of file isl_int_sioimath.h.
#define isl_int_abs_ge | ( | i, | |
j | |||
) | (isl_sioimath_abs_cmp(*(i), *(j)) >= 0) |
Definition at line 1247 of file isl_int_sioimath.h.
#define isl_int_abs_gt | ( | i, | |
j | |||
) | (isl_sioimath_abs_cmp(*(i), *(j)) > 0) |
Definition at line 1246 of file isl_int_sioimath.h.
#define isl_int_abs_lt | ( | i, | |
j | |||
) | (isl_sioimath_abs_cmp(*(i), *(j)) < 0) |
Definition at line 1245 of file isl_int_sioimath.h.
#define isl_int_abs_ne | ( | i, | |
j | |||
) | (isl_sioimath_abs_cmp(*(i), *(j)) != 0) |
Definition at line 1244 of file isl_int_sioimath.h.
#define isl_int_add | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_add((r), *(i), *(j)) |
Definition at line 1209 of file isl_int_sioimath.h.
#define isl_int_add_ui | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_add_ui((r), *(i), j) |
Definition at line 1206 of file isl_int_sioimath.h.
#define isl_int_addmul | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_addmul((r), *(i), *(j)) |
Definition at line 1216 of file isl_int_sioimath.h.
#define isl_int_addmul_ui | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_addmul_ui((r), *(i), j) |
Definition at line 1217 of file isl_int_sioimath.h.
#define isl_int_cdiv_q | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_cdiv_q((r), *(i), *(j)) |
Definition at line 1226 of file isl_int_sioimath.h.
#define isl_int_cdiv_q_ui | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_cdiv_q_ui((r), *(i), j) |
Definition at line 1227 of file isl_int_sioimath.h.
#define isl_int_clear | ( | i | ) | isl_sioimath_clear((i)) |
Definition at line 1191 of file isl_int_sioimath.h.
#define isl_int_cmp | ( | i, | |
j | |||
) | isl_sioimath_cmp(*(i), *(j)) |
Definition at line 1234 of file isl_int_sioimath.h.
#define isl_int_cmp_si | ( | i, | |
si | |||
) | isl_sioimath_cmp_si(*(i), si) |
Definition at line 1235 of file isl_int_sioimath.h.
#define isl_int_divexact | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_tdiv_q((r), *(i), *(j)) |
Definition at line 1223 of file isl_int_sioimath.h.
#define isl_int_divexact_ui | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_tdiv_q_ui((r), *(i), j) |
Definition at line 1224 of file isl_int_sioimath.h.
#define isl_int_eq | ( | i, | |
j | |||
) | (isl_sioimath_cmp(*(i), *(j)) == 0) |
Definition at line 1236 of file isl_int_sioimath.h.
#define isl_int_fdiv_q | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_fdiv_q((r), *(i), *(j)) |
Definition at line 1228 of file isl_int_sioimath.h.
#define isl_int_fdiv_q_ui | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_fdiv_q_ui((r), *(i), j) |
Definition at line 1230 of file isl_int_sioimath.h.
#define isl_int_fdiv_r | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_fdiv_r((r), *(i), *(j)) |
Definition at line 1229 of file isl_int_sioimath.h.
#define isl_int_fits_slong | ( | r | ) | isl_sioimath_fits_slong(*(r)) |
Definition at line 1196 of file isl_int_sioimath.h.
#define isl_int_fits_ulong | ( | r | ) | isl_sioimath_fits_ulong(*(r)) |
Definition at line 1198 of file isl_int_sioimath.h.
#define isl_int_free_str | ( | s | ) | free(s) |
Definition at line 1251 of file isl_int_sioimath.h.
#define isl_int_gcd | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_gcd((r), *(i), *(j)) |
Definition at line 1221 of file isl_int_sioimath.h.
#define isl_int_ge | ( | i, | |
j | |||
) | (isl_sioimath_cmp(*(i), *(j)) >= 0) |
Definition at line 1241 of file isl_int_sioimath.h.
#define isl_int_get_d | ( | r | ) | isl_sioimath_get_d(*(r)) |
Definition at line 1200 of file isl_int_sioimath.h.
#define isl_int_get_si | ( | r | ) | isl_sioimath_get_si(*(r)) |
Definition at line 1197 of file isl_int_sioimath.h.
#define isl_int_get_str | ( | r | ) | isl_sioimath_get_str(*(r)) |
Definition at line 1201 of file isl_int_sioimath.h.
#define isl_int_get_ui | ( | r | ) | isl_sioimath_get_ui(*(r)) |
Definition at line 1199 of file isl_int_sioimath.h.
#define isl_int_gt | ( | i, | |
j | |||
) | (isl_sioimath_cmp(*(i), *(j)) > 0) |
Definition at line 1240 of file isl_int_sioimath.h.
#define isl_int_hash | ( | v, | |
h | |||
) | isl_sioimath_hash(*(v), h) |
Definition at line 1250 of file isl_int_sioimath.h.
#define isl_int_init | ( | i | ) | isl_sioimath_init((i)) |
Definition at line 1190 of file isl_int_sioimath.h.
#define isl_int_is_divisible_by | ( | i, | |
j | |||
) | isl_sioimath_is_divisible_by(*(i), *(j)) |
Definition at line 1248 of file isl_int_sioimath.h.
#define isl_int_lcm | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_lcm((r), *(i), *(j)) |
Definition at line 1222 of file isl_int_sioimath.h.
#define isl_int_le | ( | i, | |
j | |||
) | (isl_sioimath_cmp(*(i), *(j)) <= 0) |
Definition at line 1239 of file isl_int_sioimath.h.
#define isl_int_lt | ( | i, | |
j | |||
) | (isl_sioimath_cmp(*(i), *(j)) < 0) |
Definition at line 1238 of file isl_int_sioimath.h.
#define isl_int_mul | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_mul((r), *(i), *(j)) |
Definition at line 1211 of file isl_int_sioimath.h.
#define isl_int_mul_2exp | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_mul_2exp((r), *(i), j) |
Definition at line 1212 of file isl_int_sioimath.h.
#define isl_int_mul_si | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_mul_si((r), *(i), j) |
Definition at line 1213 of file isl_int_sioimath.h.
#define isl_int_mul_ui | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_mul_ui((r), *(i), j) |
Definition at line 1214 of file isl_int_sioimath.h.
#define isl_int_ne | ( | i, | |
j | |||
) | (isl_sioimath_cmp(*(i), *(j)) != 0) |
Definition at line 1237 of file isl_int_sioimath.h.
#define isl_int_neg | ( | r, | |
i | |||
) | isl_sioimath_neg((r), *(i)) |
Definition at line 1203 of file isl_int_sioimath.h.
#define isl_int_pow_ui | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_pow_ui((r), *(i), j) |
Definition at line 1215 of file isl_int_sioimath.h.
#define isl_int_print | ( | out, | |
i, | |||
width | |||
) | isl_sioimath_print(out, *(i), width) |
Definition at line 1252 of file isl_int_sioimath.h.
#define isl_int_read | ( | r, | |
s | |||
) | isl_sioimath_read((r), s) |
Definition at line 1232 of file isl_int_sioimath.h.
#define isl_int_set | ( | r, | |
i | |||
) | isl_sioimath_set((r), *(i)) |
Definition at line 1193 of file isl_int_sioimath.h.
#define isl_int_set_si | ( | r, | |
i | |||
) | isl_sioimath_set_si((r), i) |
Definition at line 1194 of file isl_int_sioimath.h.
#define isl_int_set_ui | ( | r, | |
i | |||
) | isl_sioimath_set_ui((r), i) |
Definition at line 1195 of file isl_int_sioimath.h.
#define isl_int_sgn | ( | i | ) | isl_sioimath_sgn(*(i)) |
Definition at line 1233 of file isl_int_sioimath.h.
#define isl_int_sub | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_sub((r), *(i), *(j)) |
Definition at line 1210 of file isl_int_sioimath.h.
#define isl_int_sub_ui | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_sub_ui((r), *(i), j) |
Definition at line 1207 of file isl_int_sioimath.h.
#define isl_int_submul | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_submul((r), *(i), *(j)) |
Definition at line 1218 of file isl_int_sioimath.h.
#define isl_int_submul_ui | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_submul_ui((r), *(i), j) |
Definition at line 1219 of file isl_int_sioimath.h.
#define isl_int_swap | ( | i, | |
j | |||
) | isl_sioimath_swap((i), (j)) |
Definition at line 1204 of file isl_int_sioimath.h.
#define isl_int_swap_or_set | ( | i, | |
j | |||
) | isl_sioimath_swap((i), (j)) |
Definition at line 1205 of file isl_int_sioimath.h.
#define isl_int_tdiv_q | ( | r, | |
i, | |||
j | |||
) | isl_sioimath_tdiv_q((r), *(i), *(j)) |
Definition at line 1225 of file isl_int_sioimath.h.
#define ISL_SIOIMATH_SMALL_MAX INT32_MAX |
Definition at line 92 of file isl_int_sioimath.h.
#define ISL_SIOIMATH_SMALL_MIN (-INT32_MAX) |
Definition at line 89 of file isl_int_sioimath.h.
#define ISL_SIOIMATH_TO_DIGITS | ( | num, | |
digits, | |||
used | |||
) |
Definition at line 204 of file isl_int_sioimath.h.
typedef isl_sioimath isl_int[1] |
Definition at line 1189 of file isl_int_sioimath.h.
typedef uintptr_t isl_sioimath |
Definition at line 75 of file isl_int_sioimath.h.
typedef isl_sioimath* isl_sioimath_ptr |
Definition at line 95 of file isl_int_sioimath.h.
typedef isl_sioimath isl_sioimath_src |
Definition at line 98 of file isl_int_sioimath.h.
|
inline |
Definition at line 550 of file isl_int_sioimath.h.
References arg, isl_sioimath_get_big(), isl_sioimath_get_small(), isl_sioimath_is_small(), isl_sioimath_reinit_big(), isl_sioimath_set_small(), and mp_int_abs.
|
inline |
Definition at line 1093 of file isl_int_sioimath.h.
References isl_sioimath_bigarg_src(), isl_sioimath_decode_small(), lhs, mp_int_compare_unsigned, and rhs.
|
inline |
Definition at line 631 of file isl_int_sioimath.h.
References isl_sioimath_bigarg_src(), isl_sioimath_decode_small(), isl_sioimath_reinit_big(), isl_sioimath_set_int64(), isl_sioimath_try_demote(), lhs, mp_int_add, and rhs.
Referenced by isl_sioimath_addmul(), and isl_sioimath_addmul_ui().
|
inline |
Definition at line 589 of file isl_int_sioimath.h.
References impz_add_ui, isl_sioimath_bigarg_src(), isl_sioimath_decode_small(), isl_sioimath_reinit_big(), isl_sioimath_set_int64(), ISL_SIOIMATH_SMALL_MAX, isl_sioimath_try_demote(), lhs, and rhs.
|
inline |
Definition at line 802 of file isl_int_sioimath.h.
References isl_sioimath_add(), isl_sioimath_clear(), isl_sioimath_init(), isl_sioimath_mul(), lhs, and rhs.
|
inline |
Definition at line 814 of file isl_int_sioimath.h.
References isl_sioimath_add(), isl_sioimath_clear(), isl_sioimath_init(), isl_sioimath_mul_ui(), lhs, and rhs.
|
inline |
Definition at line 247 of file isl_int_sioimath.h.
References mpz_t::alloc, arg, ARRAY_SIZE, isl_sioimath_scratchspace_t::big, mpz_t::digits, isl_sioimath_scratchspace_t::digits, isl_sioimath_decode_big(), isl_sioimath_get_small(), isl_siomath_uint32_to_digits(), MP_NEG, MP_ZPOS, mpz_t::sign, and mpz_t::used.
Referenced by isl_sioimath_abs_cmp(), isl_sioimath_add(), isl_sioimath_add_ui(), isl_sioimath_cdiv_q(), isl_sioimath_cdiv_q_ui(), isl_sioimath_cmp(), isl_sioimath_fdiv_q(), isl_sioimath_fdiv_q_ui(), isl_sioimath_fdiv_r(), isl_sioimath_gcd(), isl_sioimath_is_divisible_by(), isl_sioimath_lcm(), isl_sioimath_mul(), isl_sioimath_mul_2exp(), isl_sioimath_mul_si(), isl_sioimath_mul_ui(), isl_sioimath_pow_ui(), isl_sioimath_sub(), isl_sioimath_sub_ui(), isl_sioimath_tdiv_q(), isl_sioimath_tdiv_q_ui(), and isl_val_get_abs_num_chunks().
|
inline |
Definition at line 903 of file isl_int_sioimath.h.
References impz_cdiv_q, isl_sioimath_bigarg_src(), isl_sioimath_decode_small(), isl_sioimath_reinit_big(), isl_sioimath_set_small(), isl_sioimath_try_demote(), lhs, and rhs.
|
inline |
Definition at line 933 of file isl_int_sioimath.h.
References impz_cdiv_q, isl_sioimath_bigarg_src(), isl_sioimath_decode_small(), isl_sioimath_reinit_big(), isl_sioimath_set_small(), isl_sioimath_try_demote(), isl_sioimath_uiarg_src(), lhs, and rhs.
|
inline |
Definition at line 412 of file isl_int_sioimath.h.
References isl_sioimath_get_big(), isl_sioimath_is_small(), and mp_int_free.
Referenced by isl_sioimath_addmul(), isl_sioimath_addmul_ui(), isl_sioimath_submul(), and isl_sioimath_submul_ui().
|
inline |
Definition at line 1055 of file isl_int_sioimath.h.
References isl_sioimath_bigarg_src(), isl_sioimath_decode_small(), isl_sioimath_get_big(), lhs, mp_int_compare, mp_int_compare_value, and rhs.
|
inline |
Definition at line 1078 of file isl_int_sioimath.h.
References isl_sioimath_decode_small(), isl_sioimath_get_big(), lhs, mp_int_compare_value, and rhs.
|
inline |
Definition at line 144 of file isl_int_sioimath.h.
References isl_sioimath_get_big(), isl_sioimath_is_big(), and val.
Referenced by isl_sioimath_bigarg_src().
|
inline |
Definition at line 136 of file isl_int_sioimath.h.
References isl_sioimath_get_small(), isl_sioimath_is_small(), and val.
Referenced by isl_sioimath_abs_cmp(), isl_sioimath_add(), isl_sioimath_add_ui(), isl_sioimath_cdiv_q(), isl_sioimath_cdiv_q_ui(), isl_sioimath_cmp(), isl_sioimath_cmp_si(), isl_sioimath_fdiv_q(), isl_sioimath_fdiv_q_ui(), isl_sioimath_gcd(), isl_sioimath_hash(), isl_sioimath_is_divisible_by(), isl_sioimath_lcm(), isl_sioimath_mul(), isl_sioimath_mul_2exp(), isl_sioimath_mul_si(), isl_sioimath_mul_ui(), isl_sioimath_pow_ui(), isl_sioimath_print(), isl_sioimath_sgn(), isl_sioimath_sizeinbase(), isl_sioimath_sub(), isl_sioimath_sub_ui(), and isl_sioimath_tdiv_q().
void isl_sioimath_dump | ( | isl_sioimath_src | arg | ) |
Definition at line 220 of file isl_int_sioimath.c.
References arg, and isl_sioimath_print().
|
inline |
Definition at line 159 of file isl_int_sioimath.h.
References val.
Referenced by isl_sioimath_reinit_big().
|
inline |
Definition at line 152 of file isl_int_sioimath.h.
References val.
Referenced by isl_sioimath_init(), and isl_sioimath_set_small().
|
inline |
Definition at line 957 of file isl_int_sioimath.h.
References impz_fdiv_q, isl_sioimath_bigarg_src(), isl_sioimath_decode_small(), isl_sioimath_reinit_big(), isl_sioimath_set_small(), isl_sioimath_try_demote(), lhs, and rhs.
|
inline |
Definition at line 987 of file isl_int_sioimath.h.
References impz_fdiv_q, isl_sioimath_bigarg_src(), isl_sioimath_decode_small(), isl_sioimath_reinit_big(), isl_sioimath_set_small(), isl_sioimath_try_demote(), isl_sioimath_uiarg_src(), lhs, and rhs.
|
inline |
Definition at line 1012 of file isl_int_sioimath.h.
References impz_fdiv_r, isl_sioimath_bigarg_src(), isl_sioimath_get_small(), isl_sioimath_is_small(), isl_sioimath_reinit_big(), isl_sioimath_set_small(), isl_sioimath_try_demote(), lhs, and rhs.
|
inline |
Definition at line 458 of file isl_int_sioimath.h.
References isl_sioimath_get_big(), isl_sioimath_is_small(), mp_int_to_int, MP_OK, and val.
|
inline |
Definition at line 484 of file isl_int_sioimath.h.
References isl_sioimath_get_big(), isl_sioimath_get_small(), isl_sioimath_is_small(), mp_int_to_uint, MP_OK, and val.
void isl_sioimath_gcd | ( | isl_sioimath_ptr | dst, |
isl_sioimath_src | lhs, | ||
isl_sioimath_src | rhs | ||
) |
Definition at line 103 of file isl_int_sioimath.c.
References impz_gcd, isl_sioimath_bigarg_src(), isl_sioimath_decode_small(), isl_sioimath_reinit_big(), isl_sioimath_set_small(), isl_sioimath_smallgcd(), isl_sioimath_try_demote(), lhs, and rhs.
|
inline |
Definition at line 125 of file isl_int_sioimath.h.
References val.
Referenced by isl_sioimath_abs(), isl_sioimath_clear(), isl_sioimath_cmp(), isl_sioimath_cmp_si(), isl_sioimath_decode_big(), isl_sioimath_fits_slong(), isl_sioimath_fits_ulong(), isl_sioimath_get_d(), isl_sioimath_get_si(), isl_sioimath_get_str(), isl_sioimath_get_ui(), isl_sioimath_hash(), isl_sioimath_neg(), isl_sioimath_print(), isl_sioimath_reinit_big(), isl_sioimath_set(), isl_sioimath_set_small(), isl_sioimath_sgn(), isl_sioimath_sizeinbase(), and isl_sioimath_try_demote().
|
inline |
Definition at line 510 of file isl_int_sioimath.h.
References mpz_t::digits, if(), isl_sioimath_get_big(), isl_sioimath_get_small(), isl_sioimath_is_small(), MP_DIGIT_MAX, MP_NEG, result, mpz_t::sign, mpz_t::used, and val.
|
inline |
Definition at line 471 of file isl_int_sioimath.h.
References isl_sioimath_get_big(), isl_sioimath_get_small(), isl_sioimath_is_small(), mp_int_to_int, result, and val.
|
inline |
Definition at line 117 of file isl_int_sioimath.h.
References val.
Referenced by isl_sioimath_abs(), isl_sioimath_bigarg_src(), isl_sioimath_decode_small(), isl_sioimath_fdiv_r(), isl_sioimath_fits_ulong(), isl_sioimath_get_d(), isl_sioimath_get_si(), isl_sioimath_get_str(), isl_sioimath_get_ui(), isl_sioimath_neg(), isl_sioimath_promote(), isl_sioimath_set(), and isl_sioimath_tdiv_q_ui().
|
inline |
Definition at line 535 of file isl_int_sioimath.h.
References impz_get_str, isl_sioimath_get_big(), isl_sioimath_get_small(), isl_sioimath_is_small(), result, and val.
|
inline |
Definition at line 497 of file isl_int_sioimath.h.
References isl_sioimath_get_big(), isl_sioimath_get_small(), isl_sioimath_is_small(), mp_int_to_uint, result, and val.
|
inline |
Definition at line 1145 of file isl_int_sioimath.h.
References arg, isl_hash_byte, isl_imath_hash(), isl_sioimath_decode_small(), isl_sioimath_get_big(), and isl_siomath_uint32_to_digits().
|
inline |
Definition at line 405 of file isl_int_sioimath.h.
References isl_sioimath_encode_small().
Referenced by isl_sioimath_addmul(), isl_sioimath_addmul_ui(), isl_sioimath_submul(), and isl_sioimath_submul_ui().
|
inline |
Definition at line 109 of file isl_int_sioimath.h.
References isl_sioimath_is_small(), and val.
Referenced by isl_sioimath_decode_big(), isl_sioimath_promote(), and isl_sioimath_set_small().
|
inline |
Definition at line 1114 of file isl_int_sioimath.h.
References cmp(), isl_sioimath_bigarg_src(), isl_sioimath_decode_small(), isl_sioimath_sgn(), lhs, mp_int_clear, mp_int_compare_zero, mp_int_div, mp_int_divisible_value, mp_int_init, and rhs.
|
inline |
Definition at line 102 of file isl_int_sioimath.h.
References val.
Referenced by isl_sioimath_abs(), isl_sioimath_clear(), isl_sioimath_decode_small(), isl_sioimath_fdiv_r(), isl_sioimath_fits_slong(), isl_sioimath_fits_ulong(), isl_sioimath_get_d(), isl_sioimath_get_si(), isl_sioimath_get_str(), isl_sioimath_get_ui(), isl_sioimath_is_big(), isl_sioimath_neg(), isl_sioimath_reinit_big(), isl_sioimath_set(), isl_sioimath_tdiv_q_ui(), and isl_sioimath_try_demote().
void isl_sioimath_lcm | ( | isl_sioimath_ptr | dst, |
isl_sioimath_src | lhs, | ||
isl_sioimath_src | rhs | ||
) |
Definition at line 125 of file isl_int_sioimath.c.
References abs(), impz_lcm, isl_sioimath_bigarg_src(), isl_sioimath_decode_small(), isl_sioimath_reinit_big(), isl_sioimath_set_int64(), isl_sioimath_set_small(), isl_sioimath_smallgcd(), isl_sioimath_try_demote(), lhs, and rhs.
|
inline |
Definition at line 673 of file isl_int_sioimath.h.
References isl_sioimath_bigarg_src(), isl_sioimath_decode_small(), isl_sioimath_reinit_big(), isl_sioimath_set_int64(), isl_sioimath_try_demote(), lhs, mp_int_mul, and rhs.
Referenced by isl_sioimath_addmul(), isl_sioimath_pow_ui(), and isl_sioimath_submul().
|
inline |
Definition at line 695 of file isl_int_sioimath.h.
References isl_sioimath_bigarg_src(), isl_sioimath_decode_small(), isl_sioimath_reinit_big(), isl_sioimath_set_int64(), lhs, mp_int_mul_pow2, and rhs.
Referenced by isl_sioimath_pow_ui().
|
inline |
Definition at line 712 of file isl_int_sioimath.h.
References isl_sioimath_bigarg_src(), isl_sioimath_decode_small(), isl_sioimath_reinit_big(), isl_sioimath_set_int64(), isl_sioimath_siarg_src(), isl_sioimath_try_demote(), lhs, mp_int_mul, and rhs.
|
inline |
Definition at line 732 of file isl_int_sioimath.h.
References isl_sioimath_bigarg_src(), isl_sioimath_decode_small(), isl_sioimath_reinit_big(), isl_sioimath_set_int64(), isl_sioimath_try_demote(), isl_sioimath_uiarg_src(), lhs, mp_int_mul, and rhs.
Referenced by isl_sioimath_addmul_ui(), and isl_sioimath_submul_ui().
|
inline |
Definition at line 562 of file isl_int_sioimath.h.
References arg, isl_sioimath_get_big(), isl_sioimath_get_small(), isl_sioimath_is_small(), isl_sioimath_reinit_big(), isl_sioimath_set_small(), and mp_int_neg.
|
inline |
Definition at line 754 of file isl_int_sioimath.h.
References isl_sioimath_bigarg_src(), isl_sioimath_decode_small(), isl_sioimath_mul(), isl_sioimath_mul_2exp(), isl_sioimath_reinit_big(), isl_sioimath_set(), isl_sioimath_set_small(), isl_sioimath_try_demote(), isl_sioimath_uiarg_src(), lhs, mp_int_expt_full, mp_int_expt_value, MP_SMALL_MAX, MP_SMALL_MIN, and rhs.
void isl_sioimath_print | ( | FILE * | out, |
isl_sioimath_src | i, | ||
int | width | ||
) |
Definition at line 198 of file isl_int_sioimath.c.
References isl_sioimath_decode_small(), isl_sioimath_get_big(), mp_int_string_len, and mp_int_to_string.
Referenced by isl_sioimath_dump().
|
inline |
Definition at line 375 of file isl_int_sioimath.h.
References isl_sioimath_get_small(), isl_sioimath_is_big(), isl_sioimath_reinit_big(), and mp_int_set_value.
void isl_sioimath_read | ( | isl_sioimath_ptr | dst, |
const char * | str | ||
) |
Definition at line 170 of file isl_int_sioimath.c.
References isl_sioimath_reinit_big(), isl_sioimath_set_small(), isl_sioimath_try_demote(), mp_int_read_string, and str.
|
inline |
Definition at line 331 of file isl_int_sioimath.h.
References isl_sioimath_encode_big(), isl_sioimath_get_big(), isl_sioimath_is_small(), and mp_int_alloc.
Referenced by isl_sioimath_abs(), isl_sioimath_add(), isl_sioimath_add_ui(), isl_sioimath_cdiv_q(), isl_sioimath_cdiv_q_ui(), isl_sioimath_fdiv_q(), isl_sioimath_fdiv_q_ui(), isl_sioimath_fdiv_r(), isl_sioimath_gcd(), isl_sioimath_lcm(), isl_sioimath_mul(), isl_sioimath_mul_2exp(), isl_sioimath_mul_si(), isl_sioimath_mul_ui(), isl_sioimath_neg(), isl_sioimath_pow_ui(), isl_sioimath_promote(), isl_sioimath_read(), isl_sioimath_set(), isl_sioimath_set_int32(), isl_sioimath_set_int64(), isl_sioimath_set_si(), isl_sioimath_set_ui(), isl_sioimath_sub(), isl_sioimath_sub_ui(), isl_sioimath_tdiv_q(), isl_sioimath_tdiv_q_ui(), and isl_val_int_from_chunks().
|
inline |
Definition at line 422 of file isl_int_sioimath.h.
References isl_sioimath_get_big(), isl_sioimath_get_small(), isl_sioimath_is_small(), isl_sioimath_reinit_big(), isl_sioimath_set_small(), mp_int_copy, and val.
Referenced by isl_sioimath_pow_ui().
|
inline |
Definition at line 349 of file isl_int_sioimath.h.
References isl_sioimath_reinit_big(), isl_sioimath_set_small(), ISL_SIOIMATH_SMALL_MAX, ISL_SIOIMATH_SMALL_MIN, mp_int_init_value, and val.
|
inline |
Definition at line 361 of file isl_int_sioimath.h.
References isl_sioimath_reinit_big(), isl_sioimath_set_small(), isl_sioimath_si64arg_src(), ISL_SIOIMATH_SMALL_MAX, ISL_SIOIMATH_SMALL_MIN, mp_int_copy, and val.
Referenced by isl_sioimath_add(), isl_sioimath_add_ui(), isl_sioimath_lcm(), isl_sioimath_mul(), isl_sioimath_mul_2exp(), isl_sioimath_mul_si(), isl_sioimath_mul_ui(), isl_sioimath_sub(), and isl_sioimath_sub_ui().
|
inline |
Definition at line 434 of file isl_int_sioimath.h.
References isl_sioimath_reinit_big(), isl_sioimath_set_small(), ISL_SIOIMATH_SMALL_MAX, ISL_SIOIMATH_SMALL_MIN, mp_int_set_value, and val.
|
inline |
Definition at line 340 of file isl_int_sioimath.h.
References isl_sioimath_encode_small(), isl_sioimath_get_big(), isl_sioimath_is_big(), mp_int_free, and val.
Referenced by isl_sioimath_abs(), isl_sioimath_cdiv_q(), isl_sioimath_cdiv_q_ui(), isl_sioimath_fdiv_q(), isl_sioimath_fdiv_q_ui(), isl_sioimath_fdiv_r(), isl_sioimath_gcd(), isl_sioimath_lcm(), isl_sioimath_neg(), isl_sioimath_pow_ui(), isl_sioimath_read(), isl_sioimath_set(), isl_sioimath_set_int32(), isl_sioimath_set_int64(), isl_sioimath_set_si(), isl_sioimath_set_ui(), isl_sioimath_tdiv_q(), isl_sioimath_tdiv_q_ui(), and isl_sioimath_try_demote().
|
inline |
Definition at line 446 of file isl_int_sioimath.h.
References isl_sioimath_reinit_big(), isl_sioimath_set_small(), ISL_SIOIMATH_SMALL_MAX, mp_int_set_uvalue, and val.
|
inline |
Definition at line 1040 of file isl_int_sioimath.h.
References arg, isl_sioimath_decode_small(), isl_sioimath_get_big(), and mp_int_compare_zero.
Referenced by isl_sioimath_is_divisible_by().
|
inline |
Definition at line 295 of file isl_int_sioimath.h.
References mpz_t::alloc, arg, ARRAY_SIZE, isl_sioimath_scratchspace_t::big, mpz_t::digits, isl_sioimath_scratchspace_t::digits, isl_siomath_uint64_to_digits(), MP_NEG, MP_ZPOS, mpz_t::sign, and mpz_t::used.
Referenced by isl_sioimath_set_int64().
|
inline |
Definition at line 274 of file isl_int_sioimath.h.
References mpz_t::alloc, arg, ARRAY_SIZE, isl_sioimath_scratchspace_t::big, mpz_t::digits, isl_sioimath_scratchspace_t::digits, isl_siomath_ulong_to_digits(), MP_NEG, MP_ZPOS, mpz_t::sign, and mpz_t::used.
Referenced by isl_sioimath_mul_si().
|
inline |
Definition at line 1176 of file isl_int_sioimath.h.
References arg, impz_sizeinbase, isl_sioimath_decode_small(), and isl_sioimath_get_big().
Referenced by isl_val_n_abs_num_chunks().
|
inline |
Definition at line 652 of file isl_int_sioimath.h.
References isl_sioimath_bigarg_src(), isl_sioimath_decode_small(), isl_sioimath_reinit_big(), isl_sioimath_set_int64(), isl_sioimath_try_demote(), lhs, mp_int_sub, and rhs.
Referenced by isl_sioimath_submul(), and isl_sioimath_submul_ui().
|
inline |
Definition at line 612 of file isl_int_sioimath.h.
References impz_sub_ui, isl_sioimath_bigarg_src(), isl_sioimath_decode_small(), isl_sioimath_reinit_big(), isl_sioimath_set_int64(), ISL_SIOIMATH_SMALL_MIN, isl_sioimath_try_demote(), lhs, and rhs.
|
inline |
Definition at line 826 of file isl_int_sioimath.h.
References isl_sioimath_clear(), isl_sioimath_init(), isl_sioimath_mul(), isl_sioimath_sub(), lhs, and rhs.
|
inline |
Definition at line 838 of file isl_int_sioimath.h.
References isl_sioimath_clear(), isl_sioimath_init(), isl_sioimath_mul_ui(), isl_sioimath_sub(), lhs, and rhs.
|
inline |
Definition at line 577 of file isl_int_sioimath.h.
|
inline |
Definition at line 855 of file isl_int_sioimath.h.
References isl_sioimath_bigarg_src(), isl_sioimath_decode_small(), isl_sioimath_reinit_big(), isl_sioimath_set_small(), isl_sioimath_try_demote(), lhs, mp_int_div, and rhs.
|
inline |
Definition at line 876 of file isl_int_sioimath.h.
References isl_sioimath_bigarg_src(), isl_sioimath_get_small(), isl_sioimath_is_small(), isl_sioimath_reinit_big(), isl_sioimath_set_small(), isl_sioimath_try_demote(), isl_sioimath_uiarg_src(), lhs, mp_int_div, mp_int_div_value, MP_SMALL_MAX, and rhs.
|
inline |
Definition at line 389 of file isl_int_sioimath.h.
References isl_sioimath_get_big(), isl_sioimath_is_small(), isl_sioimath_set_small(), ISL_SIOIMATH_SMALL_MAX, ISL_SIOIMATH_SMALL_MIN, mp_int_to_int, and MP_OK.
Referenced by isl_sioimath_add(), isl_sioimath_add_ui(), isl_sioimath_cdiv_q(), isl_sioimath_cdiv_q_ui(), isl_sioimath_fdiv_q(), isl_sioimath_fdiv_q_ui(), isl_sioimath_fdiv_r(), isl_sioimath_gcd(), isl_sioimath_lcm(), isl_sioimath_mul(), isl_sioimath_mul_si(), isl_sioimath_mul_ui(), isl_sioimath_pow_ui(), isl_sioimath_read(), isl_sioimath_sub(), isl_sioimath_sub_ui(), isl_sioimath_tdiv_q(), isl_sioimath_tdiv_q_ui(), and isl_val_int_from_chunks().
|
inline |
Definition at line 316 of file isl_int_sioimath.h.
References mpz_t::alloc, arg, ARRAY_SIZE, isl_sioimath_scratchspace_t::big, mpz_t::digits, isl_sioimath_scratchspace_t::digits, isl_siomath_ulong_to_digits(), MP_ZPOS, mpz_t::sign, and mpz_t::used.
Referenced by isl_sioimath_cdiv_q_ui(), isl_sioimath_fdiv_q_ui(), isl_sioimath_mul_ui(), isl_sioimath_pow_ui(), and isl_sioimath_tdiv_q_ui().
Definition at line 220 of file isl_int_sioimath.h.
References ISL_SIOIMATH_TO_DIGITS.
Referenced by isl_sioimath_bigarg_src(), and isl_sioimath_hash().
Definition at line 232 of file isl_int_sioimath.h.
References ISL_SIOIMATH_TO_DIGITS.
Referenced by isl_sioimath_si64arg_src().
Definition at line 226 of file isl_int_sioimath.h.
References ISL_SIOIMATH_TO_DIGITS.
Referenced by isl_sioimath_siarg_src(), and isl_sioimath_uiarg_src().