Skip to content

Commit

Permalink
Adjust the negative exponent by +1 in zeros with large exponent tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewdale committed Jun 16, 2023
1 parent 186bc07 commit 67a2a8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/bson-corpus/tests/decimal128-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@
{
"description": "Clamped zeros with a large negative exponent",
"canonical_bson": "180000001364000000000000000000000000000000000000",
"degenerate_extjson": "{\"d\" : {\"$numberDecimal\" : \"0E-2147483648\"}}",
"degenerate_extjson": "{\"d\" : {\"$numberDecimal\" : \"0E-2147483647\"}}",
"canonical_extjson": "{\"d\" : {\"$numberDecimal\" : \"0E-6176\"}}"
},
{
Expand All @@ -334,7 +334,7 @@
{
"description": "Clamped negative zeros with a large negative exponent",
"canonical_bson": "180000001364000000000000000000000000000000008000",
"degenerate_extjson": "{\"d\" : {\"$numberDecimal\" : \"-0E-2147483648\"}}",
"degenerate_extjson": "{\"d\" : {\"$numberDecimal\" : \"-0E-2147483647\"}}",
"canonical_extjson": "{\"d\" : {\"$numberDecimal\" : \"-0E-6176\"}}"
}
]
Expand Down

0 comments on commit 67a2a8d

Please sign in to comment.