/haiku-buildtools/gcc/mpfr/tests/ |
H A D | tset_exp.c | 33 mpfr_exp_t emin, emax; local 38 emax = mpfr_get_emax (); 63 set_emax (emax);
|
H A D | tsech.c | 105 int emax, i, inex, rnd, err = 0; local 113 for (emax = -1; emax <= 0; emax++) 115 mpfr_set_ui_2exp (y, 1, emax, MPFR_RNDN); 117 set_emax (emax); /* 1 is not representable. */ 118 /* and if emax < 0, 1 - eps is not representable either. */ 125 if ((i == 0 || emax < 0 || rnd == MPFR_RNDN || rnd == MPFR_RNDU) && 147 printf (" instead of 0.11111111E%d.\n", emax);
|
H A D | tsec.c | 88 int emax, i, inex, rnd, err = 0; local 96 for (emax = -1; emax <= 0; emax++) 98 mpfr_set_ui_2exp (y, 1, emax, MPFR_RNDN); 100 set_emax (emax); /* 1 is not representable. */ 128 printf (" instead of 0.11111111E%d.\n", emax);
|
H A D | tset_f.c | 34 mpfr_exp_t emax; local 170 emax = mpfr_get_emax (); 172 /* For mpf_mul_2exp, emax must fit in an unsigned long! */ 173 if (emax >= 0 && emax <= ULONG_MAX) 176 mpf_mul_2exp (y, y, emax); 178 mpfr_set_ui_2exp (u, 1, emax, MPFR_RNDN); 181 printf ("Error: mpfr_set_f (x, y, MPFR_RNDN) for y = 2^emax\n"); 186 /* For mpf_mul_2exp, emax - 1 must fit in an unsigned long! */ 187 if (emax > [all...] |
H A D | texp10.c | 39 mpfr_exp_t emin, emax; local 42 emax = mpfr_get_emax (); 63 set_emax (emax); 83 printf ("Overflow error for x = emax, MPFR_RNDN.\n"); 121 int emax, i, inex, rnd, err = 0; local 129 for (emax = -1; emax <= 0; emax++) 131 mpfr_set_ui_2exp (y, 1, emax, MPFR_RNDN); 133 set_emax (emax); /* 199 mpfr_exp_t emin, emax; local [all...] |
H A D | texp2.c | 39 mpfr_exp_t emin, emax; local 42 emax = mpfr_get_emax (); 63 set_emax (emax); 83 printf ("Overflow error for x = emax, MPFR_RNDN.\n"); 96 printf ("Overflow error for x = emax - eps, MPFR_RNDN.\n"); 108 printf ("Overflow error for x = emax - eps, MPFR_RNDD.\n"); 146 int emax, i, inex, rnd, err = 0; local 154 for (emax = -1; emax <= 0; emax 224 mpfr_exp_t emin, emax; local [all...] |
H A D | tcos.c | 144 mpfr_exp_t emin, emax; local 147 emax = mpfr_get_emax (); 158 set_emax (emax); 168 int emax, i, inex, rnd, err = 0; local 176 for (emax = -1; emax <= 0; emax++) 178 mpfr_set_ui_2exp (y, 1, emax, MPFR_RNDN); 180 set_emax (emax); /* 1 is not representable. */ 181 /* and if emax < [all...] |
H A D | ttanh.c | 65 mpfr_exp_t emin, emax; local 68 emax = mpfr_get_emax (); 97 set_emax (emax);
|
H A D | tgeneric.c | 252 mpfr_exp_t e, emin, emax, oemin, oemax; local 258 emax = MPFR_EMIN_MIN; 264 if (e > emax) 265 emax = e; 272 if (e > emax) 273 emax = e; 281 if (e > emax) 282 emax = e; 285 if (emin > emax) 286 emin = emax; /* cas [all...] |
H A D | tset_ld.c | 75 mpfr_exp_t emin, emax; local 77 emax = mpfr_get_emax (); 82 if (emax <= LONG_MAX) 83 printf ("emax=%ld\n", (long) emax); 199 mpfr_exp_t emax; local 293 /* check with reduced emax to exercise overflow */ 294 emax = mpfr_get_emax (); 303 set_emax (emax);
|
H A D | tacos.c | 77 mpfr_exp_t emin, emax; local 80 emax = mpfr_get_emax (); 98 set_emax (emax);
|
H A D | tround_prec.c | 32 mpfr_exp_t emax; local 59 emax = mpfr_get_emax (); 65 set_emax (emax);
|
H A D | tset_z.c | 81 mpfr_exp_t emax, emin; local 97 emax = mpfr_get_emax (); 107 set_emax (emax);
|
H A D | tmodf.c | 111 mpfr_exp_t emax; local 113 emax = mpfr_get_emax (); 128 set_emax (emax); 186 set_emax (emax);
|
H A D | tasin.c | 174 mpfr_exp_t emin, emax; local 177 emax = mpfr_get_emax (); 195 set_emax (emax); 225 mpfr_exp_t emin, emax; local 231 emax = mpfr_get_emax (); 242 mpfr_set_emax (emax);
|
H A D | tgamma.c | 29 (MPFR_SUSPICIOUS_OVERFLOW) for x = 2^(-emax) = 0.5 * 2^(emin+1) in 203 mpfr_exp_t emin, emax; local 207 emax = mpfr_get_emax (); 399 set_emax (emax); 553 mpfr_exp_t emin, emax; local 559 emax = mpfr_get_emax (); 597 mpfr_set_emax (emax); 619 mpfr_set_emax (emax); 642 mpfr_set_emax (emax); 664 /* MPFR_RNDU: overflow, infinity since 1/x = 2^(emax 794 mpfr_exp_t exponent, emax; local 988 mpfr_exp_t emin, emax; local [all...] |
H A D | tadd1sp.c | 35 mpfr_exp_t emin, emax; local 38 emax = mpfr_get_emax (); 57 set_emax (emax);
|
H A D | tcosh.c | 144 mpfr_exp_t emin, emax; local 147 emax = mpfr_get_emax (); 174 set_emax (emax);
|
H A D | tset.c | 151 mpfr_exp_t emax; local 168 emax = mpfr_get_emax (); 176 printf ("Error for y=x=0.111 with px=3, py=2 and emax=0\nx="); 183 set_emax (emax);
|
H A D | tsubnormal.c | 59 mpfr_exp_t emin, emax; local 63 emax = mpfr_get_emax (); 115 set_emax (emax);
|
H A D | tmul_2exp.c | 141 mpfr_exp_t emax; local 145 emax = mpfr_get_emax (); 166 else if (e == emax) 167 printf ("default emax"); 191 else if (e == emax) 192 printf ("default emax"); 216 else if (e == emax) 217 printf ("default emax"); 233 set_emax (emax);
|
H A D | tset_si.c | 157 mpfr_exp_t emin, emax; local 282 emax = mpfr_get_emax (); 290 set_emax (emax); 292 emax = mpfr_get_emax (); 301 set_emax (emax); 336 emax = mpfr_get_emax (); 343 set_emax (emax);
|
H A D | tsin_cos.c | 172 int emax, inex, rnd, err = 0; local 181 for (emax = -1; emax <= 0; emax++) 183 mpfr_set_ui_2exp (z, 1, emax, MPFR_RNDN); 185 set_emax (emax); /* 1 is not representable. */ 186 /* and if emax < 0, 1 - eps is not representable either. */ 223 printf (" instead of 0.11111111E%d.\n", emax); 563 mpfr_exp_t emin, emax; local 570 emax [all...] |
/haiku-buildtools/gcc/mpc/tests/ |
H A D | random.c | 102 or equal to 2^{emin-1} and less than 2^emax. 108 test_default_random (mpc_ptr z, mpfr_exp_t emin, mpfr_exp_t emax, argument 112 const unsigned long range = (unsigned long int) (emax - emin) + 1;
|
/haiku-buildtools/gcc/libdecnumber/ |
H A D | decContext.c | 88 context->emax=DEC_MAX_EMAX; /* 9-digit exponents */ 103 context->emax=96; /* Emax */ 114 context->emax=384; /* Emax */ 125 context->emax=6144; /* Emax */
|