Searched refs:mp_small (Results 1 – 12 of 12) sorted by relevance
| /llvm-project-15.0.7/polly/lib/External/isl/imath/ |
| H A D | imath.h | 41 typedef long mp_small; /* must be a signed type */ typedef 131 mp_result mp_int_init_value(mp_int z, mp_small value); 137 mp_result mp_int_set_value(mp_int z, mp_small value); 200 mp_result mp_int_div_value(mp_int a, mp_small value, mp_int q, mp_small *r); 214 mp_result mp_int_expt(mp_int a, mp_small b, mp_int c); 218 mp_result mp_int_expt_value(mp_small a, mp_small b, mp_int c); 227 mp_result mp_int_mod_value(mp_int a, mp_small value, mp_small* r) { in mp_int_mod_value() 242 int mp_int_compare_value(mp_int z, mp_small v); 248 bool mp_int_divisible_value(mp_int a, mp_small v); 306 mp_result mp_int_root(mp_int a, mp_small b, mp_int c); [all …]
|
| H A D | imrat.h | 84 mp_result mp_rat_set_value(mp_rat r, mp_small numer, mp_small denom); 158 mp_result mp_rat_expt(mp_rat a, mp_small b, mp_rat c); 172 int mp_rat_compare_value(mp_rat r, mp_small n, mp_small d); 180 mp_result mp_rat_to_ints(mp_rat r, mp_small *num, mp_small *den);
|
| H A D | imdrover.c | 436 mp_small v; in test_init() 460 mp_small v; in test_set() 514 mp_small v; in test_add() 536 mp_small v; in test_sub() 572 mp_small p2; in test_mulp2() 588 mp_small v; in test_mulv() 823 mp_small v; in test_root() 868 mp_small v; in test_exptmod_ev() 884 mp_small v; in test_exptmod_bv() 942 mp_small v; in test_vcomp() [all …]
|
| H A D | imath.c | 241 static int s_vcmp(mp_int a, mp_small v); 301 static int s_2expt(mp_int z, mp_small k); 872 mp_result mp_int_div_value(mp_int a, mp_small value, mp_int q, mp_small *r) { in mp_int_div_value() 925 mp_result mp_int_expt_value(mp_small a, mp_small b, mp_int c) { in mp_int_expt_value() 1014 int mp_int_compare_value(mp_int z, mp_small value) { in mp_int_compare_value() 1327 bool mp_int_divisible_value(mp_int a, mp_small v) { in mp_int_divisible_value() 1328 mp_small rem = 0; in mp_int_divisible_value() 1393 mp_result mp_int_to_int(mp_int z, mp_small *out) { in mp_int_to_int() 1405 mp_small uv = 0; in mp_int_to_int() 1794 static int s_vcmp(mp_int a, mp_small v) { in s_vcmp() [all …]
|
| H A D | imrat.c | 105 mp_result mp_rat_set_value(mp_rat r, mp_small numer, mp_small denom) { in mp_rat_set_value() 359 mp_result mp_rat_expt(mp_rat a, mp_small b, mp_rat c) { in mp_rat_expt() 434 int mp_rat_compare_value(mp_rat r, mp_small n, mp_small d) { in mp_rat_compare_value() 457 mp_result mp_rat_to_ints(mp_rat r, mp_small *num, mp_small *den) { in mp_rat_to_ints()
|
| H A D | iprime.c | 54 mp_small rem; in mp_int_is_prime()
|
| H A D | doc.md.in | 91 | `MP_SMALL_MIN` | the minimum value representable by an `mp_small`. 92 | `MP_SMALL_MAX` | the maximum value representable by an `mp_small`. 293 "Small" integer values are represented by the types `mp_small` and `mp_usmall`, 295 for `mp_small` is "long" and the default for `mp_usmall` is "unsigned long". 296 You may change these, provided you insure that `mp_small` is signed and 347 the assumption that the `mp_small` type is 32 bits or more. If you compile 350 will not work correctly if `mp_small` is too short, as its algorithm for arc
|
| H A D | ChangeLog | 287 typedef "mp_small". This is defined in imath.h, along with some
|
| /llvm-project-15.0.7/polly/lib/External/isl/imath/examples/ |
| H A D | pi.c | 39 mp_result arctan(mp_small radix, mp_small mul, mp_small x, mp_small prec, 125 mp_result arctan(mp_small radix, mp_small mul, mp_small x, mp_small prec, in arctan() 129 mp_small rem, sign = 1, coeff = 1; in arctan()
|
| H A D | imcalc.c | 736 mp_small bval; in cf_expt() 810 mp_small b; in cf_root() 965 mp_small ncopy; in cf_copy() 1012 mp_small pos = 0; in cf_pick() 1024 mp_small rdx = 0; in cf_setr()
|
| /llvm-project-15.0.7/polly/lib/External/isl/ |
| H A D | isl_test_imath.c | 32 assert(sizeof(mp_small) == sizeof(long)); in test_imath_internals()
|
| H A D | isl_int_sioimath.h | 391 mp_small small; in isl_sioimath_try_demote() 460 mp_small dummy; in isl_sioimath_fits_slong() 473 mp_small result; in isl_sioimath_get_si()
|