Lines Matching defs:ref2
215 mpz_t ref1, ref2, ref3;
233 mpz_init (ref2);
315 (ddss_div[i].fptr) (ref1, ref2, in1, in2);
317 MPZ_CHECK_FORMAT (ref2);
324 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0)
332 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0)
340 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0)
348 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0)
400 r1 = (ddsi_div[i].fptr) (ref1, ref2, in1, in2i);
407 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0 || r1 != r2)
414 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0 || r1 != r2)
421 mpz_sqrtrem (ref1, ref2, in1);
423 MPZ_CHECK_FORMAT (ref2);
429 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0)
436 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0)
442 if (mpz_cmp (ref2, res1) != 0)
460 mpz_rootrem (ref1, ref2, in1, in2i % 0x100 + 1);
462 MPZ_CHECK_FORMAT (ref2);
468 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0)
475 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0)
481 mpz_gcdext (ref1, ref2, ref3, in1, in2);
483 MPZ_CHECK_FORMAT (ref2);
491 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0 \
499 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0) \
582 mpz_set_ui (ref2, 0);
590 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0 \
598 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0) \
754 mpz_clear (ref2);