Home | History | Annotate | Download | only in tests

Lines Matching refs:emin

35   mpfr_exp_t emin, emax;
37 emin = mpfr_get_emin ();
58 set_emin (emin);
94 mpfr_exp_t emin;
96 emin = mpfr_get_emin ();
101 set_emin (emin);
104 printf ("Error in mpfr_exp10 for x = 4, with emin = 3\n");
275 rounding to nearest, z * 2^k = 2^(emin - 2) and real result larger
307 /* Basic check: the default emin should be -2^30 (exactly). */
324 Check that 2^(emin - 2) < 10^x < (3/2) * 2^(emin - 2).
327 emin - 2 = -4611686018427387905
329 emin - 2 + log2(3/2) ~= -4611686018427387904.415
330 Thus the result should be the smallest positive number 2^(emin - 1)
332 2^(emin - 2). And there should be an underflow in precision 1 because
334 have been 2^(emin - 2), the midpoint being (3/2) * 2^(emin - 2).
341 MPFR_ASSERTN (mpfr_greater_p (t1, t2)); /* log2(10^x) > emin - 2 */
354 mpfr_setmin (z, mpfr_get_emin ()); /* z = 0.1@emin */
360 printf ("emin = %" MPFR_EXP_FSPEC "d\n",
378 mpfr_exp_t emin, emax;
415 /* save emin */
416 emin = mpfr_get_emin ();
422 printf ("Error for emin = -11, x = -4, RNDN\n");
427 /* restore emin */
428 set_emin (emin);