You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/01/17 23:11:36 UTC

[05/50] [abbrv] git commit: Adjust number ranges to show bignum support

Adjust number ranges to show bignum support

Looks like there's a slight difference in the number of significant
digits supported across platforms in strtod. This just adds a couple to
force it into the bignum code.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/commit/e8841983
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/tree/e8841983
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/diff/e8841983

Branch: refs/heads/import
Commit: e88419837bfb2112193a37222f2ae76ec2614b27
Parents: c4599a0
Author: Paul J. Davis <pa...@gmail.com>
Authored: Sun Jan 8 14:59:48 2012 -0600
Committer: Paul J. Davis <pa...@gmail.com>
Committed: Sun Jan 8 14:59:48 2012 -0600

----------------------------------------------------------------------
 test/003-numbers.t | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/blob/e8841983/test/003-numbers.t
----------------------------------------------------------------------
diff --git a/test/003-numbers.t b/test/003-numbers.t
index 42d26fd..70cc6ee 100755
--- a/test/003-numbers.t
+++ b/test/003-numbers.t
@@ -31,9 +31,9 @@ good() ->
             <<"1.2345678901234568502e+27">>
         },
         {
-            <<"1234567890123456789012345E2">>,
-            123456789012345678901234500,
-            <<"123456789012345678901234500">>
+            <<"1234567890123456789012345012">>,
+            1234567890123456789012345012,
+            <<"1234567890123456789012345012">>
         },
         {
             <<"0.000000000000000000000000000000000001">>,