[Gmp-commit] /var/hg/gmp: tests/mpf/t-fits.c: typos

mercurial at gmplib.org mercurial at gmplib.org
Tue Mar 19 16:12:49 CET 2013


details:   /var/hg/gmp/rev/d218f1e159f3
changeset: 15609:d218f1e159f3
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Tue Mar 19 16:12:19 2013 +0100
description:
tests/mpf/t-fits.c: typos

diffstat:

 tests/mpf/t-fits.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r e48fc5bbaa14 -r d218f1e159f3 tests/mpf/t-fits.c
--- a/tests/mpf/t-fits.c	Tue Mar 19 13:06:11 2013 +0100
+++ b/tests/mpf/t-fits.c	Tue Mar 19 16:12:19 2013 +0100
@@ -205,7 +205,7 @@
 
   mpf_set_si (f, (long) SHRT_MIN);
   mpf_sub_ui (f, f, 1L);
-  expr = "SHRT_MIN + 1";
+  expr = "SHRT_MIN - 1";
   EXPECT (mpf_fits_sshort_p, 0);
 
 
@@ -222,7 +222,7 @@
 
   mpf_set_si (f, (long) INT_MIN);
   mpf_sub_ui (f, f, 1L);
-  expr = "INT_MIN + 1";
+  expr = "INT_MIN - 1";
   EXPECT (mpf_fits_sint_p, 0);
 
 
@@ -237,7 +237,7 @@
 
   mpf_set_si (f, LONG_MIN);
   mpf_sub_ui (f, f, 1L);
-  expr = "LONG_MIN + 1";
+  expr = "LONG_MIN - 1";
   EXPECT (mpf_fits_slong_p, 0);
 
 


More information about the gmp-commit mailing list