diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mpf/t-fits.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/mpf/t-fits.c b/tests/mpf/t-fits.c index 4b0e7c56b..3964a13d0 100644 --- a/tests/mpf/t-fits.c +++ b/tests/mpf/t-fits.c @@ -301,8 +301,7 @@ main (void) mpf_set_ui (f, 1L); mpf_mul_2exp (f, f, BITS_PER_ULONG + 1); - mpf_sub_ui (f, f, 1L); - mpf_neg (f, f); + mpf_ui_sub (f, 1L, f); expr = "- (2^(BITS_PER_ULONG+1) - 1)"; EXPECT (mpf_fits_ulong_p, 0); EXPECT (mpf_fits_uint_p, 0); |