[bigint] Bug ?
ken <kdibble at hatfield.homelinux.com>
Tue May 11 18:12:46 PDT 2010
Hi,
Thanks for writing code for others to use.
here is some info and the testsuite output
cat /etc/issue
Ubuntu 8.04.4 LTS
uname -a
Linux zilla 2.6.24-26-generic #1 SMP Tue Dec 1 17:55:03 UTC 2009 x86_64
+GNU/Linux
g++ --version
gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
echo $NO_VALGRIND
1
kdibble at zilla:~/development/bigint-2009.05.03$ ./run-testsuite
--- testsuite.expected 2010-05-11 19:57:35.000000000 -0500
+++ testsuite.out 2010-05-11 19:57:44.000000000 -0500
@@ -3,24 +3,24 @@
Line 54: 10
Line 60: 0
Line 61: 0
-Line 70: 17179869187
-Line 71: 17179869187
-Line 72: 17179869187
-Line 75: 17179869187
-Line 76: -17179869187
+Line 70: 73786976294838206467
+Line 71: 73786976294838206467
+Line 72: 73786976294838206467
+Line 75: 73786976294838206467
+Line 76: -73786976294838206467
Line 77: error
-Line 78: 17179869187
-Line 79: -17179869187
+Line 78: 73786976294838206467
+Line 79: -73786976294838206467
Line 80: error
Line 85: 0
Line 86: 0
Line 87: 0
Line 91: 0
Line 92: 4294967295
-Line 93: error
+Line 93: 4294967296
Line 95: 0
Line 96: 2147483647
-Line 97: error
+Line 97: 2147483648
Line 100: 0
Line 101: 4294967295
Line 102: error
@@ -36,13 +36,13 @@
Line 118: error
Line 119: 0
Line 120: 4294967295
-Line 121: error
-Line 123: error
+Line 121: 4294967296
+Line 123: -2147483649
Line 124: -2147483648
Line 125: -2147483647
Line 126: 0
Line 127: 2147483647
-Line 128: error
+Line 128: 2147483648
Line 131: error
Line 132: 0
Line 133: 4294967295
@@ -89,7 +89,7 @@
Line 200: error
Line 205: 0
Line 206: 0
-Line 209: 1348619730944
+Line 209: 5792277639144799207424
Line 210: 2
Line 211: 0
Line 212: 314
Output is incorrect!
Test suite failed!
Thanks!
Ken
P.S.
Your spam filter blocks postfix on dynamic ips.
More information about the bigint
mailing list