[Gmp-commit] /home/hgfiles/gmp: One test for the behaviour of mpf_inp_str, wh...

mercurial at gmplib.org mercurial at gmplib.org
Wed Feb 24 18:36:35 CET 2010


details:   /home/hgfiles/gmp/rev/4e0582c906f9
changeset: 13437:4e0582c906f9
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Wed Feb 24 18:36:16 2010 +0100
description:
One test for the behaviour of mpf_inp_str, when the exponent starts with "+".

diffstat:

 ChangeLog             |  1 +
 tests/mpf/t-inp_str.c |  1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diffs (22 lines):

diff -r 8cd3ff870a51 -r 4e0582c906f9 ChangeLog
--- a/ChangeLog	Wed Feb 24 18:16:43 2010 +0100
+++ b/ChangeLog	Wed Feb 24 18:36:16 2010 +0100
@@ -1,6 +1,7 @@
 2010-02-24 Marco Bodrato <bodrato at mail.dm.unipi.it>
 
 	* tests/mpz/t-bin.c (data): Replace (2k,k), tested by twos ().
+	* tests/mpf/t-inp_str.c (data): Test also "+" in the exponent.
 
 2010-02-23  Torbjorn Granlund  <tege at gmplib.org>
 
diff -r 8cd3ff870a51 -r 4e0582c906f9 tests/mpf/t-inp_str.c
--- a/tests/mpf/t-inp_str.c	Wed Feb 24 18:16:43 2010 +0100
+++ b/tests/mpf/t-inp_str.c	Wed Feb 24 18:36:16 2010 +0100
@@ -52,6 +52,7 @@
 
     { "125",    10, "125",  3 },
     { "125e1",  10, "1250", 5 },
+    { "12e+2",  10, "1200", 5 },
     { "125e-1", 10, "12.5", 6 },
 
     {  "ff", 16,  "255", 2 },


More information about the gmp-commit mailing list