Home | History | Annotate | Download | only in tests

Lines Matching defs:rq

54   mpq_t aq, rq, tq;
62 mpq_init (rq);
75 mpq_mul_2exp (rq, aq, e);
76 t1 = mpz_scan1 (mpq_numref (rq), 0);
77 t2 = mpz_scan1 (mpq_denref (rq), 0);
78 mpq_neg (tq, rq);
88 dump ("nr", mpq_numref (rq));
89 dump ("dr", mpq_denref (rq));
93 mpq_div_2exp (rq, aq, e);
94 t1 = mpz_scan1 (mpq_numref (rq), 0);
95 t2 = mpz_scan1 (mpq_denref (rq), 0);
96 mpq_div (aq, aq, rq);
106 dump ("nr", mpq_numref (rq));
107 dump ("dr", mpq_denref (rq));
112 mpq_set_ui (rq, 6, 7);
114 mpq_div_2exp (rq, aq, e);
116 if (!mpq_equal (tq, rq))
122 mpq_set_ui (rq, 7, 6);
123 mpq_mul_2exp (rq, aq, e);
125 if (!mpq_equal (rq, tq))
136 mpq_clear (rq);