Lines Matching defs:ref2
99 mpfr_t ref1, ref2, ref3;
110 mpfr_init2 (ref2, p2);
118 set_special (ref2, i%SPECIAL_MAX);
121 inexa = testfunc (res1, ref2, ref3, MPFR_RNDA);
123 inexd = testfunc (ref1, ref2, ref3, r);
128 DISP("x=",ref2); DISP2(", y=",ref3);
137 mpfr_clear (ref2);
203 mpfr_t ref1, ref2;
214 mpfr_init2 (ref2, p2);
217 /* ref2 can be NaN, +Inf, -Inf, +0, -0 or any number
221 set_special (ref2, i % SPECIAL_MAX);
224 inexa = testfunc (res1, ref2, ref3, MPFR_RNDA);
226 inexd = testfunc (ref1, ref2, ref3, r);
231 DISP2("a=",ref2);
240 mpfr_clear (ref2);
249 unsigned int ref2;
265 ref2 = i / SPECIAL_MAX == 0 ? 0 : randlimb ();
267 inexa = testfunc (res1, ref2, ref3, MPFR_RNDA);
269 inexd = testfunc (ref1, ref2, ref3, r);
273 printf ("Error with RNDA for %s for b=%u\n", foo, ref2);
290 mpfr_t ref1, ref2;
300 mpfr_init2 (ref2, p2);
305 set_special (ref2, i);
308 inexa = testfunc (res1, ref2, MPFR_RNDA);
311 inexd = testfunc (ref1, ref2, r);
315 DISP2("x=", ref2);
323 mpfr_clear (ref2);
332 mpfr_t ref1, ref2, ref3;
343 mpfr_init2 (ref2, p2);
356 inexd = testfunc (ref1, ref2, ref3, r);
370 inexd = testfunc (ref1, ref2, ref3, r);
372 if (mpfr_compare (res2, ref2) || (inexa >> 2) != (inexd >> 2))
376 DISP("expected ", ref2); printf ("\n");
385 mpfr_clear (ref2);