| /src/external/lgpl3/gmp/dist/mini-gmp/tests/ |
| t-reuse.c | 213 if (mpz_cmp (ref1, res1) != 0) 219 if (mpz_cmp (ref1, res1) != 0) 238 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0) 245 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0) 252 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0) 259 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0 [all...] |
| t-div.c | 87 if (mpz_cmp (r, rr) || mpz_cmp (q, rq)) 100 if (mpz_cmp (q, rq)) 111 if (mpz_cmp (r, rr)) 138 if (mpz_cmp (r, rr)) 152 if (mpz_cmp (r, rr)) 171 || mpz_cmp (r, rr) || mpz_cmp (q, rq)) 186 if (rl != mpz_get_ui (rr) || mpz_cmp (q, rq)) 200 if (rl != mpz_get_ui (rr) || mpz_cmp (r, rr) [all...] |
| t-bitops.c | 45 if (mpz_cmp (res, ref)) 64 if (mpz_cmp (res, ref)) 84 if (mpz_cmp (res, ref))
|
| t-logops.c | 45 if (mpz_cmp (res, ref)) 57 if (mpz_cmp (res, ref)) 69 if (mpz_cmp (res, ref))
|
| t-lucm.c | 76 if (mpz_cmp (qm, qr) != 0 || 77 (mpz_cmp (vm, vr) != 0 && mpz_cmp (vm, vt) != 0))
|
| t-lcm.c | 44 if (mpz_cmp (g, s)) 57 if (mpz_cmp (g, s))
|
| t-sub.c | 44 if (mpz_cmp (res, ref)) 55 if (mpz_cmp (res_ui, ref))
|
| t-mul.c | 51 if (mpz_cmp (res, ref)) 81 if (mpz_cmp (res_ui, ref)) 99 if (mpz_cmp (tz, ref))
|
| /src/external/lgpl3/gmp/dist/demos/expr/ |
| exprz.c | 122 { "<=", (mpexpr_fun_t) mpz_cmp, MPEXPR_TYPE_CMP_LE, 170 }, 123 { "<", (mpexpr_fun_t) mpz_cmp, MPEXPR_TYPE_CMP_LT, 170 }, 124 { ">=", (mpexpr_fun_t) mpz_cmp, MPEXPR_TYPE_CMP_GE, 170 }, 125 { ">", (mpexpr_fun_t) mpz_cmp, MPEXPR_TYPE_CMP_GT, 170 }, 127 { "==", (mpexpr_fun_t) mpz_cmp, MPEXPR_TYPE_CMP_EQ, 160 }, 128 { "!=", (mpexpr_fun_t) mpz_cmp, MPEXPR_TYPE_CMP_NE, 160 }, 147 { "cmp", (mpexpr_fun_t) mpz_cmp, MPEXPR_TYPE_I_BINARY }, 163 { "max", (mpexpr_fun_t) mpz_cmp, MPEXPR_TYPE_MAX 165 { "min", (mpexpr_fun_t) mpz_cmp, MPEXPR_TYPE_MIN
|
| /src/external/lgpl3/gmp/dist/mpz/ |
| cmp.c | 0 /* mpz_cmp(u,v) -- Compare U, V. Return positive, zero, or negative 36 mpz_cmp (mpz_srcptr u, mpz_srcptr v) __GMP_NOTHROW
|
| cmp_si.c | 44 return mpz_cmp (u, tmp);
|
| /src/external/lgpl3/gmp/dist/tests/mpz/ |
| reuse.c | 300 if (mpz_cmp (ref1, res1) != 0) 306 if (mpz_cmp (ref1, res1) != 0) 324 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0) 332 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0) 340 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0) 348 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0 [all...] |
| t-bit.c | 74 if (mpz_cmp (got, want) != 0) 96 if (mpz_cmp (got, want) != 0) 148 if (mpz_cmp (got, want) != 0) 334 if (mpz_cmp (s0, s1) == 0 || mpz_cmp (s0, s2) != 0 || mpz_cmp (s0, s3) == 0) 339 if (mpz_cmp (s0, s1) != 0 || mpz_cmp (s0, s2) == 0 || mpz_cmp (s0, s3) != 0) 343 if (mpz_cmp (s1, s2) == 0 || mpz_cmp (s1, s3) != 0 [all...] |
| t-lucnum_ui.c | 56 if (mpz_cmp (got_ln, want_ln) != 0 || mpz_cmp (got_ln1, want_ln1) != 0) 68 if (mpz_cmp (got_ln, want_ln) != 0)
|
| t-fib_ui.c | 124 if (mpz_cmp (got_fn, want_fn) != 0 || mpz_cmp (got_fn1, want_fn1) != 0) 136 if (mpz_cmp (got_fn, want_fn) != 0)
|
| t-fdiv.c | 1 /* Test mpz_abs, mpz_add, mpz_cmp, mpz_cmp_ui, mpz_fdiv_qr, mpz_fdiv_q, 92 if (mpz_cmp (quotient, quotient2) != 0) 94 if (mpz_cmp (remainder, remainder2) != 0) 111 if (mpz_cmp (temp, dividend) != 0) 116 if (mpz_cmp (remainder, temp) >= 0)
|
| t-sqrtrem.c | 1 /* Test mpz_add, mpz_add_ui, mpz_cmp, mpz_cmp, mpz_mul, mpz_sqrtrem. 74 if (mpz_cmp (temp, x) != 0) 80 if (mpz_cmp (temp, x2) > 0) 87 if (mpz_cmp (temp2, x2) <= 0) 93 if (mpz_cmp (x2, temp2) != 0)
|
| t-tdiv.c | 1 /* Test mpz_abs, mpz_add, mpz_cmp, mpz_cmp_ui, mpz_tdiv_qr, mpz_tdiv_q, 91 if (mpz_cmp (quotient, quotient2) != 0) 93 if (mpz_cmp (remainder, remainder2) != 0) 110 if (mpz_cmp (temp, dividend) != 0) 115 if (mpz_cmp (remainder, temp) >= 0)
|
| logic.c | 65 if (mpz_cmp (r1, x) != 0) 70 if (mpz_cmp (r2, x) != 0) 80 if (mpz_cmp (t1, x) != 0) 85 if (mpz_cmp (t2, x) != 0) 121 if (mpz_cmp (r1, x) != 0) 128 if (mpz_cmp (r2, y) != 0) 141 if (mpz_cmp (r1, r2) != 0) 154 if (mpz_cmp (r1, r2) != 0) 167 if (mpz_cmp (r1, r2) != 0)
|
| t-mfac_uiui.c | 66 if (mpz_cmp (ref[m], res) != 0) 75 if (mpz_cmp (ref2[m2], res) != 0) 95 if (mpz_cmp (ref[0], res) != 0) 106 if (mpz_cmp (ref[0], res) != 0) 118 if (mpz_cmp (ref[0], res) != 0)
|
| t-addsub.c | 79 if (mpz_cmp (r2, op1) != 0) 87 if (mpz_cmp (r2, op1) != 0) 93 if (mpz_cmp (r1, r2) != 0)
|
| t-pow.c | 37 if (mpz_cmp (got, want)) 49 if (mpz_cmp (got, want)) 63 if (mpz_cmp (got, want))
|
| /src/external/lgpl3/gmp/dist/tests/rand/ |
| t-iset.c | 43 if (mpz_cmp (sz, dz) != 0)
|
| /src/external/lgpl3/mpc/dist/tests/ |
| tpl_gmp.c | 46 return mpz_cmp (z1, z2) == 0;
|
| /src/external/mit/isl/dist/ |
| isl_int_gmp.h | 55 #define isl_int_cmp(i,j) mpz_cmp(i,j) 57 #define isl_int_eq(i,j) (mpz_cmp(i,j) == 0) 58 #define isl_int_ne(i,j) (mpz_cmp(i,j) != 0) 59 #define isl_int_lt(i,j) (mpz_cmp(i,j) < 0) 60 #define isl_int_le(i,j) (mpz_cmp(i,j) <= 0) 61 #define isl_int_gt(i,j) (mpz_cmp(i,j) > 0) 62 #define isl_int_ge(i,j) (mpz_cmp(i,j) >= 0)
|