Skip to content

Commit

Permalink
Use max/min int32 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 1ca2f54 commit 186bc07
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/bson-corpus/tests/decimal128-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -316,25 +316,25 @@
{
"description": "Clamped zeros with a large positive exponent",
"canonical_bson": "180000001364000000000000000000000000000000FE5F00",
"degenerate_extjson": "{\"d\" : {\"$numberDecimal\" : \"0E+9999999999\"}}",
"degenerate_extjson": "{\"d\" : {\"$numberDecimal\" : \"0E+2147483647\"}}",
"canonical_extjson": "{\"d\" : {\"$numberDecimal\" : \"0E+6111\"}}"
},
{
"description": "Clamped zeros with a large negative exponent",
"canonical_bson": "180000001364000000000000000000000000000000000000",
"degenerate_extjson": "{\"d\" : {\"$numberDecimal\" : \"0E-9999999999\"}}",
"degenerate_extjson": "{\"d\" : {\"$numberDecimal\" : \"0E-2147483648\"}}",
"canonical_extjson": "{\"d\" : {\"$numberDecimal\" : \"0E-6176\"}}"
},
{
"description": "Clamped negative zeros with a large positive exponent",
"canonical_bson": "180000001364000000000000000000000000000000FEDF00",
"degenerate_extjson": "{\"d\" : {\"$numberDecimal\" : \"-0E+9999999999\"}}",
"degenerate_extjson": "{\"d\" : {\"$numberDecimal\" : \"-0E+2147483647\"}}",
"canonical_extjson": "{\"d\" : {\"$numberDecimal\" : \"-0E+6111\"}}"
},
{
"description": "Clamped negative zeros with a large negative exponent",
"canonical_bson": "180000001364000000000000000000000000000000008000",
"degenerate_extjson": "{\"d\" : {\"$numberDecimal\" : \"-0E-9999999999\"}}",
"degenerate_extjson": "{\"d\" : {\"$numberDecimal\" : \"-0E-2147483648\"}}",
"canonical_extjson": "{\"d\" : {\"$numberDecimal\" : \"-0E-6176\"}}"
}
]
Expand Down

0 comments on commit 186bc07

Please sign in to comment.