Home
last modified time | relevance | path

Searched refs:mpq_cmp (Results 1 – 25 of 48) sorted by relevance

12

/netbsd/external/lgpl3/gmp/dist/demos/expr/
H A Dexprq.c105 { "<=", (mpexpr_fun_t) mpq_cmp, MPEXPR_TYPE_CMP_LE, 170 },
106 { "<", (mpexpr_fun_t) mpq_cmp, MPEXPR_TYPE_CMP_LT, 170 },
107 { ">=", (mpexpr_fun_t) mpq_cmp, MPEXPR_TYPE_CMP_GE, 170 },
108 { ">", (mpexpr_fun_t) mpq_cmp, MPEXPR_TYPE_CMP_GT, 170 },
125 { "cmp", (mpexpr_fun_t) mpq_cmp, MPEXPR_TYPE_I_BINARY },
127 { "max", (mpexpr_fun_t) mpq_cmp, MPEXPR_TYPE_MAX | MPEXPR_TYPE_PAIRWISE },
128 { "min", (mpexpr_fun_t) mpq_cmp, MPEXPR_TYPE_MIN | MPEXPR_TYPE_PAIRWISE },
H A Dt-expr.c395 if (mpq_cmp (got, want) != 0) in check_q()
/netbsd/external/lgpl3/gmp/dist/tests/mpq/
H A Dreuse.c158 if (mpq_cmp (res1, out1) != 0) in main()
165 if (mpq_cmp (res1, out1) != 0) in main()
178 if (mpq_cmp (res1, res2) != 0) in main()
180 if (mpq_cmp (res1, out1) != 0) in main()
199 if (mpq_cmp (res1, out1) != 0) in main()
220 if (mpq_cmp (res1, out1) != 0) in main()
H A Dt-md_2exp.c73 if (mpq_cmp (r, q) < 0) in check_random()
81 if (mpq_cmp (r, q) != 0) in check_random()
H A Dt-cmp.c90 cc = mpq_cmp (a, b); in main()
H A Dio.c116 if (mpq_cmp (op1, op2)) in main()
H A Dt-get_d.c100 if (mpq_cmp (qlast_d, qnew_d) > 0) in check_monotonic()
/netbsd/external/lgpl3/gmp/dist/mini-gmp/
H A Dmini-mpq.c214 mpq_cmp (const mpq_t a, const mpq_t b) in mpq_cmp() function
258 return mpq_cmp (q, mpq_roinit_normal_nn (t, &nl, n != 0, &dl, 1)); in mpq_cmp_ui()
264 ret = mpq_cmp (q, t); in mpq_cmp_ui()
285 return mpq_cmp (q, mpq_roinit_normal_nn (t, &nl, -1, &dl, 1)); in mpq_cmp_si()
H A Dmini-mpq.h60 int mpq_cmp (const mpq_t, const mpq_t);
/netbsd/external/lgpl3/gmp/dist/mpq/
H A Dcmp_ui.c54 cc = mpq_cmp (op1, op2); in _mpq_cmp_ui()
H A Dcmp.c157 mpq_cmp (mpq_srcptr op1, mpq_srcptr op2) in mpq_cmp() function
/netbsd/external/lgpl3/mpc/dist/tests/
H A Dcheck_data.c44 return mpq_cmp (got->mpq, expected->mpq); in check_param()
/netbsd/external/lgpl3/gmp/dist/mini-gmp/tests/
H A Dt-mpq_double.c131 c = mpq_cmp (y, z); in check_random()
H A Dt-mpq_addsub.c163 tst = mpq_cmp (rr, ff); in testmain()
/netbsd/external/lgpl3/gmp/dist/demos/perl/
H A DGMP.xs431 ret = mpq_cmp (x, y->m); in my_mpx_set_svstr()
449 ret = mpq_cmp (tmp_mpq_0, y); in x_mpz_cmp_q()
2584 RETVAL = mpq_cmp (x->m, y);
2929 RETVAL = mpq_cmp (coerce_mpq (tmp_mpq_0, xv),
/netbsd/external/lgpl3/gmp/dist/
H A Dgmpxx.h914 static int eval(mpq_srcptr q, mpq_srcptr r) { return mpq_cmp(q, r); } in eval()
925 { __GMPXX_TMPQ_D; return mpq_cmp (q, temp); } in eval()
927 { __GMPXX_TMPQ_D; return mpq_cmp (temp, q); } in eval()
1046 static bool eval(mpq_srcptr q, mpq_srcptr r) { return mpq_cmp(q, r) < 0; } in eval()
1057 { __GMPXX_TMPQ_D; return mpq_cmp (q, temp) < 0; } in eval()
1059 { __GMPXX_TMPQ_D; return mpq_cmp (temp, q) < 0; } in eval()
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/coldfire/
H A Dgmp.h1139 #define mpq_cmp __gmpq_cmp macro
1140 __GMP_DECLSPEC int mpq_cmp (mpq_srcptr, mpq_srcptr) __GMP_ATTRIBUTE_PURE;
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/or1k/
H A Dgmp.h1139 #define mpq_cmp __gmpq_cmp macro
1140 __GMP_DECLSPEC int mpq_cmp (mpq_srcptr, mpq_srcptr) __GMP_ATTRIBUTE_PURE;
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/alpha/
H A Dgmp.h1150 #define mpq_cmp __gmpq_cmp macro
1151 __GMP_DECLSPEC int mpq_cmp (mpq_srcptr, mpq_srcptr) __GMP_ATTRIBUTE_PURE;
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/arm/
H A Dgmp.h1150 #define mpq_cmp __gmpq_cmp macro
1151 __GMP_DECLSPEC int mpq_cmp (mpq_srcptr, mpq_srcptr) __GMP_ATTRIBUTE_PURE;
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/armeb/
H A Dgmp.h1150 #define mpq_cmp __gmpq_cmp macro
1151 __GMP_DECLSPEC int mpq_cmp (mpq_srcptr, mpq_srcptr) __GMP_ATTRIBUTE_PURE;
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/hppa/
H A Dgmp.h1150 #define mpq_cmp __gmpq_cmp macro
1151 __GMP_DECLSPEC int mpq_cmp (mpq_srcptr, mpq_srcptr) __GMP_ATTRIBUTE_PURE;
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/i386/
H A Dgmp.h1150 #define mpq_cmp __gmpq_cmp macro
1151 __GMP_DECLSPEC int mpq_cmp (mpq_srcptr, mpq_srcptr) __GMP_ATTRIBUTE_PURE;
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/ia64/
H A Dgmp.h1150 #define mpq_cmp __gmpq_cmp macro
1151 __GMP_DECLSPEC int mpq_cmp (mpq_srcptr, mpq_srcptr) __GMP_ATTRIBUTE_PURE;
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/mips64eb/
H A Dgmp.h1150 #define mpq_cmp __gmpq_cmp macro
1151 __GMP_DECLSPEC int mpq_cmp (mpq_srcptr, mpq_srcptr) __GMP_ATTRIBUTE_PURE;

12