summaryrefslogtreecommitdiff
path: root/tests/tsub1sp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tsub1sp.c')
-rw-r--r--tests/tsub1sp.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/tsub1sp.c b/tests/tsub1sp.c
index 460a5dd6f..b191e350f 100644
--- a/tests/tsub1sp.c
+++ b/tests/tsub1sp.c
@@ -351,19 +351,12 @@ check_special (void)
MPFR_SET_NAN(x);
MPFR_SET_NAN(x2);
-#if 0
mpfr_set_str_binary (y,
"0.1000000000000000000000000000000000000000000000000000000000000000"
"E-1073741823");
mpfr_set_str_binary (z,
"0.1100000000000000000000000000000000000000000000000000000000000000"
"E-1073741823");
-#else
- mpfr_set_ui_2exp (y, 1, MPFR_EMIN_DEFAULT-1, MPFR_RNDN);
- /* y = 0.5*2^EMIN_DEFAULT */
- mpfr_set_ui_2exp (z, 3, MPFR_EMIN_DEFAULT-2, MPFR_RNDN);
- /* z = 0.75*2^EMIN_DEFAULT */
-#endif
inexact1 = mpfr_sub1(x2, y, z, (mpfr_rnd_t) r);
inexact2 = mpfr_sub1sp(x, y, z, (mpfr_rnd_t) r);
if (mpfr_cmp(x, x2))