Searched refs:mpz_cmp_si (Results 1 - 25 of 70) sorted by relevance

123

/netbsd-current/external/lgpl3/gmp/dist/tests/cxx/
H A Dt-cast.cc40 i = mpz_cmp_si (z, l);
/netbsd-current/external/lgpl3/gmp/dist/demos/
H A Dqcn.c98 if (mpz_cmp_si (d, -3) == 0) h *= 3;
99 else if (mpz_cmp_si (d, -4) == 0) h *= 2;
H A Dpexpr.c951 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 Dt-signed.c34 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 Dt-gcd.c46 && 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 Dt-mpq_muldiv_2exp.c83 || mpz_sizeinbase (t, 2) - 1 != e || mpz_cmp_si (mpq_numref (tq), -1) != 0)
/netbsd-current/external/lgpl3/gmp/dist/tests/mpq/
H A Dt-inv.c43 ASSERT_ALWAYS (mpz_cmp_si (n, -13) == 0);
/netbsd-current/external/lgpl3/gmp/dist/tests/mpz/
H A Dt-cmp_si.c1 /* Test mpz_cmp_si.
74 got = mpz_cmp_si (a, b);
77 printf ("mpz_cmp_si wrong on data[%d]\n", i);
H A Dt-gcd.c294 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 Dlogic.c75 if (mpz_cmp_si (t1, 0) != 0)
92 if (mpz_cmp_si (t3, -1) != 0)
/netbsd-current/external/lgpl3/mpfr/dist/src/
H A Dpow_z.c243 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 Ddata.c293 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 Dconstructor.c192 if (mpz_cmp_si (c->repeat, 1) > 0)
H A Darith.c748 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 Dsimplify.c256 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 Dtarget-memory.c749 if (mpz_cmp_si (c->offset, 0) != 0)
H A Dexpr.c672 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 Ddata.cc313 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 Dconstructor.cc193 if (mpz_cmp_si (c->repeat, 1) > 0)
H A Darith.cc747 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 Dsimplify.cc288 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 Dtarget-memory.cc749 if (mpz_cmp_si (c->offset, 0) != 0)
/netbsd-current/external/mit/isl/dist/
H A Disl_int_gmp.h56 #define isl_int_cmp_si(i,si) mpz_cmp_si(i,si)
/netbsd-current/external/lgpl3/gmp/dist/mini-gmp/
H A Dmini-gmp.h134 int mpz_cmp_si (const mpz_t, long);
/netbsd-current/external/lgpl3/gmp/dist/
H A Dgmpxx.h906 { 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; }

Completed in 266 milliseconds

123