Lines Matching refs:mpfr_set_f
1 /* Test file for mpfr_set_f.
48 mpfr_set_f (x, y, MPFR_RNDN);
51 mpfr_set_f (x, y, RND_RAND ());
62 mpfr_set_f (x, y, MPFR_RNDN);
65 printf ("mpfr_set_f failed for y=2033033E-3\n");
70 mpfr_set_f (x, y, MPFR_RNDN);
74 printf ("mpfr_set_f failed for y=-2033033E-3\n");
82 mpfr_set_f (x, y, MPFR_RNDN);
85 printf ("Error in mpfr_set_f: corrupted result\n");
98 mpfr_set_f (u, z, MPFR_RNDN);
101 printf ("Error in mpfr_set_f:\n");
111 mpfr_set_f (x, z, MPFR_RNDN);
116 printf ("Error in mpfr_set_f: precision=%lu\n", pr);
137 inexact = mpfr_set_f (x, y, (mpfr_rnd_t) r);
140 printf ("mpfr_set_f(x,0) failed for %s, i = %d\n",
154 inexact = mpfr_set_f (x, y, MPFR_RNDN);
161 mpfr_set_f (x, y, MPFR_RNDN);
166 printf ("Error: mpfr_set_f (x, y, MPFR_RNDN) for y = 2^ULONG_MAX\n");
177 mpfr_set_f (x, y, MPFR_RNDN);
181 printf ("Error: mpfr_set_f (x, y, MPFR_RNDN) for y = 2^emax\n");
191 mpfr_set_f (x, y, MPFR_RNDN);
195 printf ("Error: mpfr_set_f (x, y, MPFR_RNDN) for y = 2^(emax-1)\n");