summaryrefslogtreecommitdiff
path: root/tests/tsprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tsprintf.c')
-rw-r--r--tests/tsprintf.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/tsprintf.c b/tests/tsprintf.c
index fba32511e..b33355c88 100644
--- a/tests/tsprintf.c
+++ b/tests/tsprintf.c
@@ -1128,7 +1128,6 @@ bug20111102 (void)
* for %Ra and %Rb is not done on the MPFR number itself (as it
* would overflow). Note: it has been reported on comp.std.c that
* some C libraries behave differently on %a, but this is a bug.
- * FIXME: this function assumes e = 3 mod 4.
*/
static void
check_emax_aux (mpfr_exp_t e)
@@ -1138,9 +1137,6 @@ check_emax_aux (mpfr_exp_t e)
int i;
mpfr_exp_t emax;
- if ((e % 4) != 3)
- return;
-
MPFR_ASSERTN (e <= LONG_MAX);
emax = mpfr_get_emax ();
set_emax (e);
@@ -1199,7 +1195,6 @@ check_emax (void)
check_emax_aux (MPFR_EMAX_MAX);
}
-/* FIXME: this function assumes e = 1 mod 4 */
static void
check_emin_aux (mpfr_exp_t e)
{
@@ -1209,9 +1204,6 @@ check_emin_aux (mpfr_exp_t e)
mpfr_exp_t emin;
mpz_t ee;
- if ((e % 4) != 1)
- return;
-
MPFR_ASSERTN (e >= LONG_MIN);
emin = mpfr_get_emin ();
set_emin (e);