/netbsd-current/external/lgpl3/gmp/dist/tests/cxx/ |
H A D | t-cast.cc | 40 i = mpz_cmp_si (z, l);
|
/netbsd-current/external/lgpl3/gmp/dist/demos/ |
H A D | qcn.c | 98 if (mpz_cmp_si (d, -3) == 0) h *= 3; 99 else if (mpz_cmp_si (d, -4) == 0) h *= 2;
|
H A D | pexpr.c | 951 if (mpz_cmp_si (rhs, 0L) < 0) 992 if (mpz_cmp_si (rhs, 0L) == 0) 995 else if (mpz_cmp_si (lhs, 0L) == 0) 1001 else if (mpz_cmp_si (lhs, -1L) == 0) 1004 else if (mpz_cmp_si (rhs, 0L) < 0) 1228 if (mpz_sgn (lhs) <= 0 || mpz_cmp_si (lhs, 1000000000) > 0) 1262 if (mpz_sgn (lhs) <= 0 || mpz_cmp_si (lhs, 1000000000) > 0) 1329 if (mpz_cmp_si (r, 0L) < 0) 1340 if (mpz_cmp_si (r, 0L) < 0)
|
/netbsd-current/external/lgpl3/gmp/dist/mini-gmp/tests/ |
H A D | t-signed.c | 34 if ((mpz_cmp_si (sz, si)) != 0) 36 printf ("mpz_cmp_si (sz, %ld) != 0.\n", si); 73 if (mpz_cmp_si (oz, si) != -c) 75 printf ("mpz_cmp_si (oz, %ld) != %i.\n", si, -c); 81 if (mpz_cmp_si (sz, si) != c) 83 printf ("mpz_cmp_si (sz, %ld) != %i.\n", si, c); 86 if (mpz_cmp_si (sz, -c) != c) 88 printf ("mpz_cmp_si (sz, %i) != %i.\n", -c, c); 96 if (mpz_cmp_si (sz, oi) != c) 98 printf ("mpz_cmp_si (s [all...] |
H A D | t-gcd.c | 46 && mpz_sgn (s) == 0 && mpz_cmp_si (t, mpz_sgn (b)) == 0; 52 && mpz_cmp_si (s, mpz_sgn (a)) == 0 && mpz_sgn (t) == 0;
|
H A D | t-mpq_muldiv_2exp.c | 83 || mpz_sizeinbase (t, 2) - 1 != e || mpz_cmp_si (mpq_numref (tq), -1) != 0)
|
/netbsd-current/external/lgpl3/gmp/dist/tests/mpq/ |
H A D | t-inv.c | 43 ASSERT_ALWAYS (mpz_cmp_si (n, -13) == 0);
|
/netbsd-current/external/lgpl3/gmp/dist/tests/mpz/ |
H A D | t-cmp_si.c | 1 /* Test mpz_cmp_si. 74 got = mpz_cmp_si (a, b); 77 printf ("mpz_cmp_si wrong on data[%d]\n", i);
|
H A D | t-gcd.c | 294 ASSERT_ALWAYS (mpz_cmp_si (temp1, -1) == 0); 295 ASSERT_ALWAYS (mpz_cmp_si (temp2, 0) == 0); 298 ASSERT_ALWAYS (mpz_cmp_si (temp1, 1) == 0); 299 ASSERT_ALWAYS (mpz_cmp_si (temp2, 2) == 0); 426 return mpz_cmpabs (g, a) == 0 && mpz_cmp_si (s, mpz_sgn (a)) == 0;
|
H A D | logic.c | 75 if (mpz_cmp_si (t1, 0) != 0) 92 if (mpz_cmp_si (t3, -1) != 0)
|
/netbsd-current/external/lgpl3/mpfr/dist/src/ |
H A D | pow_z.c | 243 if (MPFR_UNLIKELY (mpz_cmp_si (tmp, __gmpfr_emin) < 0)) 252 else if (MPFR_UNLIKELY (mpz_cmp_si (tmp, __gmpfr_emax) > 0))
|
/netbsd-current/external/gpl3/gcc.old/dist/gcc/fortran/ |
H A D | data.c | 293 if (mpz_cmp_si (offset, 0) < 0) 355 gcc_assert (mpz_cmp_si (con->repeat, 1) > 0); 358 else if (mpz_cmp_si (con->repeat, 1) > 0 417 else if (mpz_cmp_si (con->repeat, 1) > 0) 431 if (mpz_cmp_si (con->repeat, 1) > 0) 639 if (mpz_cmp_si (stride->value.integer, 0) >= 0)
|
H A D | constructor.c | 192 if (mpz_cmp_si (c->repeat, 1) > 0)
|
H A D | arith.c | 748 if (mpz_cmp_si (r, 0) != 0) 854 if (mpz_cmp_si (op1->value.integer, 1) == 0) 859 else if (mpz_cmp_si (op1->value.integer, 0) == 0) 865 if (mpz_cmp_si (op2->value.integer, 0) < 0) 868 else if (mpz_cmp_si (op1->value.integer, -1) == 0) 878 else if (mpz_cmp_si (op2->value.integer, 0) < 0) 896 if (mpz_cmp_si (op2->value.integer, power) < 0) 1984 ret = mpz_cmp_si (i, 0) != 0; 2487 result->value.logical = (mpz_cmp_si (src->value.integer, 0) != 0);
|
H A D | simplify.c | 256 if (mpz_cmp_si (array->shape[i], 0) <= 0) 749 if (mpz_cmp_si (e->value.integer, 0) < 0) 756 if (ascii && warn_surprising && mpz_cmp_si (e->value.integer, 127) > 0) 761 if (kind == 1 && mpz_cmp_si (e->value.integer, 255) > 0) 3698 mpz_cmp_si (x->value.integer, 3710 mpz_cmp_si (x->value.integer, 4060 if (mpz_cmp_si (declared_bound->value.integer, empty_bound) == 0) 4416 if (mpz_cmp_si (e->value.integer, 0) == 0) 4418 else if (mpz_cmp_si (e->value.integer, 0) < 0) 6933 if (mpz_cmp_si ( [all...] |
H A D | target-memory.c | 749 if (mpz_cmp_si (c->offset, 0) != 0)
|
H A D | expr.c | 672 if ((mpz_cmp_si (expr->value.integer, INT_MAX) > 0) 673 || (mpz_cmp_si (expr->value.integer, INT_MIN) < 0)) 6001 || mpz_cmp_si (ar->stride[i]->value.integer, 1) != 0)) 6065 if (previous_incomplete && mpz_cmp_si (ref_size, 1) != 0) 6084 && mpz_cmp_si (ar->stride[i]->value.integer, 1) != 0)
|
/netbsd-current/external/gpl3/gcc/dist/gcc/fortran/ |
H A D | data.cc | 313 if (mpz_cmp_si (offset, 0) < 0) 375 gcc_assert (mpz_cmp_si (con->repeat, 1) > 0); 378 else if (mpz_cmp_si (con->repeat, 1) > 0 437 else if (mpz_cmp_si (con->repeat, 1) > 0) 451 if (mpz_cmp_si (con->repeat, 1) > 0) 665 if (mpz_cmp_si (stride->value.integer, 0) >= 0)
|
H A D | constructor.cc | 193 if (mpz_cmp_si (c->repeat, 1) > 0)
|
H A D | arith.cc | 747 if (mpz_cmp_si (r, 0) != 0) 853 if (mpz_cmp_si (op1->value.integer, 1) == 0) 858 else if (mpz_cmp_si (op1->value.integer, 0) == 0) 864 if (mpz_cmp_si (op2->value.integer, 0) < 0) 867 else if (mpz_cmp_si (op1->value.integer, -1) == 0) 877 else if (mpz_cmp_si (op2->value.integer, 0) < 0) 895 if (mpz_cmp_si (op2->value.integer, power) < 0) 2029 ret = mpz_cmp_si (i, 0) != 0; 2532 result->value.logical = (mpz_cmp_si (src->value.integer, 0) != 0);
|
H A D | simplify.cc | 288 if (mpz_cmp_si (array->shape[i], 0) <= 0) 781 if (mpz_cmp_si (e->value.integer, 0) < 0) 788 if (ascii && warn_surprising && mpz_cmp_si (e->value.integer, 127) > 0) 793 if (kind == 1 && mpz_cmp_si (e->value.integer, 255) > 0) 3731 mpz_cmp_si (x->value.integer, 3743 mpz_cmp_si (x->value.integer, 4093 if (mpz_cmp_si (declared_bound->value.integer, empty_bound) == 0) 4449 if (mpz_cmp_si (e->value.integer, 0) == 0) 4451 else if (mpz_cmp_si (e->value.integer, 0) < 0) 7045 if (mpz_cmp_si ( [all...] |
H A D | target-memory.cc | 749 if (mpz_cmp_si (c->offset, 0) != 0)
|
/netbsd-current/external/mit/isl/dist/ |
H A D | isl_int_gmp.h | 56 #define isl_int_cmp_si(i,si) mpz_cmp_si(i,si)
|
/netbsd-current/external/lgpl3/gmp/dist/mini-gmp/ |
H A D | mini-gmp.h | 134 int mpz_cmp_si (const mpz_t, long);
|
/netbsd-current/external/lgpl3/gmp/dist/ |
H A D | gmpxx.h | 906 { return mpz_cmp_si(z, l); } 908 { return -mpz_cmp_si(z, l); } 973 { return mpz_cmp_si(z, l) == 0; } 993 mpz_cmp_si(mpq_numref(q), l) == 0; } 1038 { return mpz_cmp_si(z, l) < 0; } 1040 { return mpz_cmp_si(z, l) > 0; }
|