Searched refs:GMPQAPI (Results 1 – 2 of 2) sorted by relevance
/netbsd-src/external/mit/isl/dist/imath/ |
H A D | gmp_compat.h | 34 #define GMPQAPI(fun) impq_ ## fun macro 45 void GMPQAPI(clear)(mp_rat x); 48 int GMPQAPI(cmp)(mp_rat op1, mp_rat op2); 51 void GMPQAPI(init)(mp_rat x); 54 void GMPQAPI(mul)(mp_rat product, mp_rat multiplier, mp_rat multiplicand); 57 void GMPQAPI(set)(mp_rat rop, mp_rat op); 99 int GMPQAPI(sgn)(mp_rat op); 105 void GMPQAPI(set_ui)(mp_rat rop, unsigned long op1, unsigned long op2); 111 mp_int GMPQAPI(denref)(mp_rat op); 114 mp_int GMPQAPI(numref)(mp_rat op); [all …]
|
H A D | gmp_compat.c | 58 void GMPQAPI(clear)(mp_rat x) { mp_rat_clear(x); } in GMPQAPI() function 61 int GMPQAPI(cmp)(mp_rat op1, mp_rat op2) { return mp_rat_compare(op1, op2); } in GMPQAPI() function 64 void GMPQAPI(init)(mp_rat x) { CHECK(mp_rat_init(x)); } in GMPQAPI() function 67 void GMPQAPI(mul)(mp_rat product, mp_rat multiplier, mp_rat multiplicand) { in GMPQAPI() function 72 void GMPQAPI(set)(mp_rat rop, mp_rat op) { CHECK(mp_rat_copy(op, rop)); } in GMPQAPI() function 124 int GMPQAPI(sgn)(mp_rat op) { return mp_rat_compare_zero(op); } in GMPQAPI() function 130 void GMPQAPI(set_ui)(mp_rat rop, unsigned long op1, unsigned long op2) { in GMPQAPI() function 140 mp_int GMPQAPI(denref)(mp_rat op) { return mp_rat_denom_ref(op); } in GMPQAPI() function 143 mp_int GMPQAPI(numref)(mp_rat op) { return mp_rat_numer_ref(op); } in GMPQAPI() function 146 void GMPQAPI(canonicalize)(mp_rat op) { CHECK(mp_rat_reduce(op)); } in GMPQAPI() function [all …]
|