summaryrefslogtreecommitdiff
path: root/tests/tset_float128.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tset_float128.c')
-rw-r--r--tests/tset_float128.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tset_float128.c b/tests/tset_float128.c
index 5578d87ed..0f8845f90 100644
--- a/tests/tset_float128.c
+++ b/tests/tset_float128.c
@@ -160,7 +160,7 @@ check_large (void)
f = f + f;
f = f - (_Float128) 1.0;
mpfr_set_ui (y, 1, MPFR_RNDN);
- mpfr_mul_2exp (y, y, 113, MPFR_RNDN);
+ mpfr_mul_2ui (y, y, 113, MPFR_RNDN);
mpfr_sub_ui (y, y, 1, MPFR_RNDN);
for (i = 113; i < 16384; i++)
{
@@ -315,7 +315,7 @@ check_small (void)
}
}
f = 0.5 * f;
- mpfr_div_2exp (y, y, 1, MPFR_RNDN);
+ mpfr_div_2ui (y, y, 1, MPFR_RNDN);
}
mpfr_clears (w, x, y, z, (mpfr_ptr) 0);