bson 4.1.1-java → 4.2.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/Rakefile +18 -3
- data/lib/bson-ruby.jar +0 -0
- data/lib/bson.rb +6 -4
- data/lib/bson/array.rb +1 -1
- data/lib/bson/binary.rb +4 -2
- data/lib/bson/code.rb +1 -1
- data/lib/bson/code_with_scope.rb +1 -1
- data/lib/bson/config.rb +1 -1
- data/lib/bson/date.rb +1 -1
- data/lib/bson/date_time.rb +1 -1
- data/lib/bson/decimal128.rb +318 -0
- data/lib/bson/decimal128/builder.rb +448 -0
- data/lib/bson/document.rb +2 -2
- data/lib/bson/environment.rb +13 -1
- data/lib/bson/false_class.rb +1 -1
- data/lib/bson/float.rb +1 -1
- data/lib/bson/hash.rb +1 -1
- data/lib/bson/int32.rb +46 -0
- data/lib/bson/int64.rb +46 -0
- data/lib/bson/integer.rb +1 -1
- data/lib/bson/max_key.rb +1 -1
- data/lib/bson/min_key.rb +1 -1
- data/lib/bson/object_id.rb +3 -2
- data/lib/bson/open_struct.rb +57 -0
- data/lib/bson/regexp.rb +87 -19
- data/lib/bson/registry.rb +1 -1
- data/lib/bson/specialized.rb +1 -1
- data/lib/bson/string.rb +1 -1
- data/lib/bson/symbol.rb +1 -1
- data/lib/bson/time.rb +1 -1
- data/lib/bson/timestamp.rb +2 -2
- data/lib/bson/true_class.rb +1 -1
- data/lib/bson/version.rb +2 -2
- data/spec/bson/array_spec.rb +1 -1
- data/spec/bson/binary_spec.rb +2 -1
- data/spec/bson/corpus_spec.rb +68 -0
- data/spec/bson/decimal128_spec.rb +1583 -0
- data/spec/bson/document_spec.rb +1 -1
- data/spec/bson/driver_bson_spec.rb +77 -0
- data/spec/bson/int32_spec.rb +58 -0
- data/spec/bson/int64_spec.rb +58 -0
- data/spec/bson/open_struct_spec.rb +144 -0
- data/spec/bson/raw_spec.rb +540 -0
- data/spec/bson/regexp_spec.rb +7 -7
- data/spec/bson/timestamp_spec.rb +1 -1
- data/spec/spec_helper.rb +5 -0
- data/spec/support/common_driver.rb +347 -0
- data/spec/support/corpus-tests/array.json +43 -0
- data/spec/support/corpus-tests/boolean.json +27 -0
- data/spec/support/corpus-tests/code.json +67 -0
- data/spec/support/corpus-tests/code_w_scope.json +78 -0
- data/spec/support/corpus-tests/document.json +36 -0
- data/spec/support/corpus-tests/double.json +69 -0
- data/spec/support/corpus-tests/failures/binary.json +69 -0
- data/spec/support/corpus-tests/failures/datetime.json +31 -0
- data/spec/support/corpus-tests/failures/dbpointer.json +42 -0
- data/spec/support/corpus-tests/failures/int64.json +38 -0
- data/spec/support/corpus-tests/failures/symbol.json +62 -0
- data/spec/support/corpus-tests/failures/undefined.json +13 -0
- data/spec/support/corpus-tests/int32.json +38 -0
- data/spec/support/corpus-tests/maxkey.json +12 -0
- data/spec/support/corpus-tests/minkey.json +12 -0
- data/spec/support/corpus-tests/null.json +12 -0
- data/spec/support/corpus-tests/oid.json +28 -0
- data/spec/support/corpus-tests/regex.json +37 -0
- data/spec/support/corpus-tests/string.json +67 -0
- data/spec/support/corpus-tests/timestamp.json +18 -0
- data/spec/support/corpus-tests/top.json +62 -0
- data/spec/support/corpus.rb +265 -0
- data/spec/support/driver-spec-tests/decimal128/decimal128-1.json +363 -0
- data/spec/support/driver-spec-tests/decimal128/decimal128-2.json +793 -0
- data/spec/support/driver-spec-tests/decimal128/decimal128-3.json +1771 -0
- data/spec/support/driver-spec-tests/decimal128/decimal128-4.json +165 -0
- data/spec/support/driver-spec-tests/decimal128/decimal128-5.json +402 -0
- data/spec/support/driver-spec-tests/decimal128/decimal128-6.json +131 -0
- data/spec/support/driver-spec-tests/decimal128/decimal128-7.json +327 -0
- data/spec/support/shared_examples.rb +1 -1
- metadata +77 -4
- metadata.gz.sig +0 -0
@@ -0,0 +1,363 @@
|
|
1
|
+
{
|
2
|
+
"description": "Decimal128",
|
3
|
+
"bson_type": "0x13",
|
4
|
+
"test_key": "d",
|
5
|
+
"valid": [
|
6
|
+
{
|
7
|
+
"description": "Special - Canonical NaN",
|
8
|
+
"subject": "180000001364000000000000000000000000000000007C00",
|
9
|
+
"string": "NaN",
|
10
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"NaN\"}}"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"description": "Special - Negative NaN",
|
14
|
+
"subject": "18000000136400000000000000000000000000000000FC00",
|
15
|
+
"string": "NaN",
|
16
|
+
"from_extjson": false,
|
17
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"NaN\"}}"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"description": "Special - Canonical SNaN",
|
21
|
+
"subject": "180000001364000000000000000000000000000000007E00",
|
22
|
+
"string": "NaN",
|
23
|
+
"from_extjson": false,
|
24
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"NaN\"}}"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"description": "Special - Negative SNaN",
|
28
|
+
"subject": "18000000136400000000000000000000000000000000FE00",
|
29
|
+
"string": "NaN",
|
30
|
+
"from_extjson": false,
|
31
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"NaN\"}}"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"description": "Special - NaN with a payload",
|
35
|
+
"subject": "180000001364001200000000000000000000000000007E00",
|
36
|
+
"string": "NaN",
|
37
|
+
"from_extjson": false,
|
38
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"NaN\"}}"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"description": "Special - Canonical Positive Infinity",
|
42
|
+
"subject": "180000001364000000000000000000000000000000007800",
|
43
|
+
"string": "Infinity",
|
44
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"Infinity\"}}"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"description": "Special - Canonical Negative Infinity",
|
48
|
+
"subject": "18000000136400000000000000000000000000000000F800",
|
49
|
+
"string": "-Infinity",
|
50
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"-Infinity\"}}"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"description": "Special - Invalid representation treated as 0",
|
54
|
+
"subject": "180000001364000000000000000000000000000000106C00",
|
55
|
+
"string": "0",
|
56
|
+
"from_extjson": false,
|
57
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"0\"}}"
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"description": "Special - Invalid representation treated as -0",
|
61
|
+
"subject": "18000000136400DCBA9876543210DEADBEEF00000010EC00",
|
62
|
+
"string": "-0",
|
63
|
+
"from_extjson": false,
|
64
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"-0\"}}"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"description": "Special - Invalid representation treated as 0E3",
|
68
|
+
"subject": "18000000136400FFFFFFFFFFFFFFFFFFFFFFFFFFFF116C00",
|
69
|
+
"string": "0E+3",
|
70
|
+
"from_extjson": false,
|
71
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"0E+3\"}}"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"description": "Regular - Adjusted Exponent Limit",
|
75
|
+
"subject": "18000000136400F2AF967ED05C82DE3297FF6FDE3CF22F00",
|
76
|
+
"string": "0.000001234567890123456789012345678901234",
|
77
|
+
"extjson": "{\"d\": { \"$numberDecimal\": \"0.000001234567890123456789012345678901234\" }}"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"description": "Regular - Smallest",
|
81
|
+
"subject": "18000000136400D204000000000000000000000000343000",
|
82
|
+
"string": "0.001234",
|
83
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"0.001234\"}}"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"description": "Regular - Smallest with Trailing Zeros",
|
87
|
+
"subject": "1800000013640040EF5A07000000000000000000002A3000",
|
88
|
+
"string": "0.00123400000",
|
89
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"0.00123400000\"}}"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"description": "Regular - 0.1",
|
93
|
+
"subject": "1800000013640001000000000000000000000000003E3000",
|
94
|
+
"string": "0.1",
|
95
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"0.1\"}}"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"description": "Regular - 0.1234567890123456789012345678901234",
|
99
|
+
"subject": "18000000136400F2AF967ED05C82DE3297FF6FDE3CFC2F00",
|
100
|
+
"string": "0.1234567890123456789012345678901234",
|
101
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"0.1234567890123456789012345678901234\"}}"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"description": "Regular - 0",
|
105
|
+
"subject": "180000001364000000000000000000000000000000403000",
|
106
|
+
"string": "0",
|
107
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"0\"}}"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"description": "Regular - -0",
|
111
|
+
"subject": "18000000136400000000000000000000000000000040B000",
|
112
|
+
"string": "-0",
|
113
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"-0\"}}"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"description": "Regular - -0.0",
|
117
|
+
"subject": "1800000013640000000000000000000000000000003EB000",
|
118
|
+
"string": "-0.0",
|
119
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"-0.0\"}}"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"description": "Regular - 2",
|
123
|
+
"subject": "180000001364000200000000000000000000000000403000",
|
124
|
+
"string": "2",
|
125
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"2\"}}"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"description": "Regular - 2.000",
|
129
|
+
"subject": "18000000136400D0070000000000000000000000003A3000",
|
130
|
+
"string": "2.000",
|
131
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"2.000\"}}"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"description": "Regular - Largest",
|
135
|
+
"subject": "18000000136400F2AF967ED05C82DE3297FF6FDE3C403000",
|
136
|
+
"string": "1234567890123456789012345678901234",
|
137
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"1234567890123456789012345678901234\"}}"
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"description": "Scientific - Tiniest",
|
141
|
+
"subject": "18000000136400FFFFFFFF638E8D37C087ADBE09ED010000",
|
142
|
+
"string": "9.999999999999999999999999999999999E-6143",
|
143
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"9.999999999999999999999999999999999E-6143\"}}"
|
144
|
+
},
|
145
|
+
{
|
146
|
+
"description": "Scientific - Tiny",
|
147
|
+
"subject": "180000001364000100000000000000000000000000000000",
|
148
|
+
"string": "1E-6176",
|
149
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"1E-6176\"}}"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"description": "Scientific - Negative Tiny",
|
153
|
+
"subject": "180000001364000100000000000000000000000000008000",
|
154
|
+
"string": "-1E-6176",
|
155
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"-1E-6176\"}}"
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"description": "Scientific - Adjusted Exponent Limit",
|
159
|
+
"subject": "18000000136400F2AF967ED05C82DE3297FF6FDE3CF02F00",
|
160
|
+
"string": "1.234567890123456789012345678901234E-7",
|
161
|
+
"extjson": "{\"d\": { \"$numberDecimal\": \"1.234567890123456789012345678901234E-7\" }}"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"description": "Scientific - Fractional",
|
165
|
+
"subject": "1800000013640064000000000000000000000000002CB000",
|
166
|
+
"string": "-1.00E-8",
|
167
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"-1.00E-8\"}}"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"description": "Scientific - 0 with Exponent",
|
171
|
+
"subject": "180000001364000000000000000000000000000000205F00",
|
172
|
+
"string": "0E+6000",
|
173
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"0E+6000\"}}"
|
174
|
+
},
|
175
|
+
{
|
176
|
+
"description": "Scientific - 0 with Negative Exponent",
|
177
|
+
"subject": "1800000013640000000000000000000000000000007A2B00",
|
178
|
+
"string": "0E-611",
|
179
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"0E-611\"}}"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"description": "Scientific - No Decimal with Signed Exponent",
|
183
|
+
"subject": "180000001364000100000000000000000000000000463000",
|
184
|
+
"string": "1E+3",
|
185
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"1E+3\"}}"
|
186
|
+
},
|
187
|
+
{
|
188
|
+
"description": "Scientific - Trailing Zero",
|
189
|
+
"subject": "180000001364001A04000000000000000000000000423000",
|
190
|
+
"string": "1.050E+4",
|
191
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"1.050E+4\"}}"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"description": "Scientific - With Decimal",
|
195
|
+
"subject": "180000001364006900000000000000000000000000423000",
|
196
|
+
"string": "1.05E+3",
|
197
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"1.05E+3\"}}"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"description": "Scientific - Full",
|
201
|
+
"subject": "18000000136400FFFFFFFFFFFFFFFFFFFFFFFFFFFF403000",
|
202
|
+
"string": "5192296858534827628530496329220095",
|
203
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"5192296858534827628530496329220095\"}}"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"description": "Scientific - Large",
|
207
|
+
"subject": "18000000136400000000000A5BC138938D44C64D31FE5F00",
|
208
|
+
"string": "1.000000000000000000000000000000000E+6144",
|
209
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"1.000000000000000000000000000000000E+6144\"}}"
|
210
|
+
},
|
211
|
+
{
|
212
|
+
"description": "Scientific - Largest",
|
213
|
+
"subject": "18000000136400FFFFFFFF638E8D37C087ADBE09EDFF5F00",
|
214
|
+
"string": "9.999999999999999999999999999999999E+6144",
|
215
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"9.999999999999999999999999999999999E+6144\"}}"
|
216
|
+
},
|
217
|
+
{
|
218
|
+
"description": "Non-Canonical Parsing - Exponent Normalization",
|
219
|
+
"subject": "1800000013640064000000000000000000000000002CB000",
|
220
|
+
"string": "-1.00E-8",
|
221
|
+
"to_extjson": false,
|
222
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"-100E-10\"}}"
|
223
|
+
},
|
224
|
+
{
|
225
|
+
"description": "Non-Canonical Parsing - Unsigned Positive Exponent",
|
226
|
+
"subject": "180000001364000100000000000000000000000000463000",
|
227
|
+
"string": "1E+3",
|
228
|
+
"to_extjson": false,
|
229
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"1E3\"}}"
|
230
|
+
},
|
231
|
+
{
|
232
|
+
"description": "Non-Canonical Parsing - Lowercase Exponent Identifier",
|
233
|
+
"subject": "180000001364000100000000000000000000000000463000",
|
234
|
+
"string": "1E+3",
|
235
|
+
"to_extjson": false,
|
236
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"1e+3\"}}"
|
237
|
+
},
|
238
|
+
{
|
239
|
+
"description": "Non-Canonical Parsing - Long Significand with Exponent",
|
240
|
+
"subject": "1800000013640079D9E0F9763ADA429D0200000000583000",
|
241
|
+
"string": "1.2345689012345789012345E+34",
|
242
|
+
"to_extjson": false,
|
243
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"12345689012345789012345E+12\"}}"
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"description": "Non-Canonical Parsing - Positive Sign",
|
247
|
+
"subject": "18000000136400F2AF967ED05C82DE3297FF6FDE3C403000",
|
248
|
+
"string": "1234567890123456789012345678901234",
|
249
|
+
"to_extjson": false,
|
250
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"+1234567890123456789012345678901234\"}}"
|
251
|
+
},
|
252
|
+
{
|
253
|
+
"description": "Non-Canonical Parsing - Long Decimal String",
|
254
|
+
"subject": "180000001364000100000000000000000000000000722800",
|
255
|
+
"string": "1E-999",
|
256
|
+
"to_extjson": false,
|
257
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \".000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001\"}}"
|
258
|
+
},
|
259
|
+
{
|
260
|
+
"description": "Non-Canonical Parsing - nan",
|
261
|
+
"subject": "180000001364000000000000000000000000000000007C00",
|
262
|
+
"string": "NaN",
|
263
|
+
"to_extjson": false,
|
264
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"nan\"}}"
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"description": "Non-Canonical Parsing - nAn",
|
268
|
+
"subject": "180000001364000000000000000000000000000000007C00",
|
269
|
+
"string": "NaN",
|
270
|
+
"to_extjson": false,
|
271
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"nAn\"}}"
|
272
|
+
},
|
273
|
+
{
|
274
|
+
"description": "Non-Canonical Parsing - +infinity",
|
275
|
+
"subject": "180000001364000000000000000000000000000000007800",
|
276
|
+
"string": "Infinity",
|
277
|
+
"to_extjson": false,
|
278
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"+infinity\"}}"
|
279
|
+
},
|
280
|
+
{
|
281
|
+
"description": "Non-Canonical Parsing - infinity",
|
282
|
+
"subject": "180000001364000000000000000000000000000000007800",
|
283
|
+
"string": "Infinity",
|
284
|
+
"to_extjson": false,
|
285
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"infinity\"}}"
|
286
|
+
},
|
287
|
+
{
|
288
|
+
"description": "Non-Canonical Parsing - infiniTY",
|
289
|
+
"subject": "180000001364000000000000000000000000000000007800",
|
290
|
+
"string": "Infinity",
|
291
|
+
"to_extjson": false,
|
292
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"infiniTY\"}}"
|
293
|
+
},
|
294
|
+
{
|
295
|
+
"description": "Non-Canonical Parsing - inf",
|
296
|
+
"subject": "180000001364000000000000000000000000000000007800",
|
297
|
+
"string": "Infinity",
|
298
|
+
"to_extjson": false,
|
299
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"inf\"}}"
|
300
|
+
},
|
301
|
+
{
|
302
|
+
"description": "Non-Canonical Parsing - inF",
|
303
|
+
"subject": "180000001364000000000000000000000000000000007800",
|
304
|
+
"string": "Infinity",
|
305
|
+
"to_extjson": false,
|
306
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"inF\"}}"
|
307
|
+
},
|
308
|
+
{
|
309
|
+
"description": "Non-Canonical Parsing - -infinity",
|
310
|
+
"subject": "18000000136400000000000000000000000000000000F800",
|
311
|
+
"string": "-Infinity",
|
312
|
+
"to_extjson": false,
|
313
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"-infinity\"}}"
|
314
|
+
},
|
315
|
+
{
|
316
|
+
"description": "Non-Canonical Parsing - -infiniTy",
|
317
|
+
"subject": "18000000136400000000000000000000000000000000F800",
|
318
|
+
"string": "-Infinity",
|
319
|
+
"to_extjson": false,
|
320
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"-infiniTy\"}}"
|
321
|
+
},
|
322
|
+
{
|
323
|
+
"description": "Non-Canonical Parsing - -Inf",
|
324
|
+
"subject": "18000000136400000000000000000000000000000000F800",
|
325
|
+
"string": "-Infinity",
|
326
|
+
"to_extjson": false,
|
327
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"-Infinity\"}}"
|
328
|
+
},
|
329
|
+
{
|
330
|
+
"description": "Non-Canonical Parsing - -inf",
|
331
|
+
"subject": "18000000136400000000000000000000000000000000F800",
|
332
|
+
"string": "-Infinity",
|
333
|
+
"to_extjson": false,
|
334
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"-inf\"}}"
|
335
|
+
},
|
336
|
+
{
|
337
|
+
"description": "Non-Canonical Parsing - -inF",
|
338
|
+
"subject": "18000000136400000000000000000000000000000000F800",
|
339
|
+
"string": "-Infinity",
|
340
|
+
"to_extjson": false,
|
341
|
+
"extjson": "{\"d\" : {\"$numberDecimal\" : \"-inF\"}}"
|
342
|
+
},
|
343
|
+
{
|
344
|
+
"description": "Rounded Subnormal number",
|
345
|
+
"subject": "180000001364000100000000000000000000000000000000",
|
346
|
+
"string": "10E-6177",
|
347
|
+
"match_string": "1E-6176"
|
348
|
+
},
|
349
|
+
{
|
350
|
+
"description": "Clamped",
|
351
|
+
"subject": "180000001364000a00000000000000000000000000fe5f00",
|
352
|
+
"string": "1E6112",
|
353
|
+
"match_string": "1.0E+6112"
|
354
|
+
},
|
355
|
+
{
|
356
|
+
"description": "Exact rounding",
|
357
|
+
"subject": "18000000136400000000000a5bc138938d44c64d31cc3700",
|
358
|
+
"string": "1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
359
|
+
"match_string": "1.000000000000000000000000000000000E+999"
|
360
|
+
}
|
361
|
+
|
362
|
+
]
|
363
|
+
}
|
@@ -0,0 +1,793 @@
|
|
1
|
+
{
|
2
|
+
"description": "Decimal128",
|
3
|
+
"bson_type": "0x13",
|
4
|
+
"test_key": "d",
|
5
|
+
"valid": [
|
6
|
+
{
|
7
|
+
"description": "[decq021] Normality",
|
8
|
+
"subject": "18000000136400F2AF967ED05C82DE3297FF6FDE3C40B000",
|
9
|
+
"string": "-1234567890123456789012345678901234"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"description": "[decq823] values around [u]int32 edges (zeros done earlier)",
|
13
|
+
"subject": "18000000136400010000800000000000000000000040B000",
|
14
|
+
"string": "-2147483649"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"description": "[decq822] values around [u]int32 edges (zeros done earlier)",
|
18
|
+
"subject": "18000000136400000000800000000000000000000040B000",
|
19
|
+
"string": "-2147483648"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"description": "[decq821] values around [u]int32 edges (zeros done earlier)",
|
23
|
+
"subject": "18000000136400FFFFFF7F0000000000000000000040B000",
|
24
|
+
"string": "-2147483647"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"description": "[decq820] values around [u]int32 edges (zeros done earlier)",
|
28
|
+
"subject": "18000000136400FEFFFF7F0000000000000000000040B000",
|
29
|
+
"string": "-2147483646"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"description": "[decq152] fold-downs (more below)",
|
33
|
+
"subject": "18000000136400393000000000000000000000000040B000",
|
34
|
+
"string": "-12345"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"description": "[decq154] fold-downs (more below)",
|
38
|
+
"subject": "18000000136400D20400000000000000000000000040B000",
|
39
|
+
"string": "-1234"
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"description": "[decq006] derivative canonical plain strings",
|
43
|
+
"subject": "18000000136400EE0200000000000000000000000040B000",
|
44
|
+
"string": "-750"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"description": "[decq164] fold-downs (more below)",
|
48
|
+
"subject": "1800000013640039300000000000000000000000003CB000",
|
49
|
+
"string": "-123.45"
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"description": "[decq156] fold-downs (more below)",
|
53
|
+
"subject": "180000001364007B0000000000000000000000000040B000",
|
54
|
+
"string": "-123"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"description": "[decq008] derivative canonical plain strings",
|
58
|
+
"subject": "18000000136400EE020000000000000000000000003EB000",
|
59
|
+
"string": "-75.0"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"description": "[decq158] fold-downs (more below)",
|
63
|
+
"subject": "180000001364000C0000000000000000000000000040B000",
|
64
|
+
"string": "-12"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"description": "[decq122] Nmax and similar",
|
68
|
+
"subject": "18000000136400FFFFFFFF638E8D37C087ADBE09EDFFDF00",
|
69
|
+
"string": "-9.999999999999999999999999999999999E+6144"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"description": "[decq002] (mostly derived from the Strawman 4 document and examples)",
|
73
|
+
"subject": "18000000136400EE020000000000000000000000003CB000",
|
74
|
+
"string": "-7.50"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"description": "[decq004] derivative canonical plain strings",
|
78
|
+
"subject": "18000000136400EE0200000000000000000000000042B000",
|
79
|
+
"string": "-7.50E+3"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"description": "[decq018] derivative canonical plain strings",
|
83
|
+
"subject": "18000000136400EE020000000000000000000000002EB000",
|
84
|
+
"string": "-7.50E-7"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"description": "[decq125] Nmax and similar",
|
88
|
+
"subject": "18000000136400F2AF967ED05C82DE3297FF6FDE3CFEDF00",
|
89
|
+
"string": "-1.234567890123456789012345678901234E+6144"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"description": "[decq131] fold-downs (more below)",
|
93
|
+
"subject": "18000000136400000000807F1BCF85B27059C8A43CFEDF00",
|
94
|
+
"string": "-1.230000000000000000000000000000000E+6144"
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"description": "[decq162] fold-downs (more below)",
|
98
|
+
"subject": "180000001364007B000000000000000000000000003CB000",
|
99
|
+
"string": "-1.23"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"description": "[decq176] Nmin and below",
|
103
|
+
"subject": "18000000136400010000000A5BC138938D44C64D31008000",
|
104
|
+
"string": "-1.000000000000000000000000000000001E-6143"
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"description": "[decq174] Nmin and below",
|
108
|
+
"subject": "18000000136400000000000A5BC138938D44C64D31008000",
|
109
|
+
"string": "-1.000000000000000000000000000000000E-6143"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"description": "[decq133] fold-downs (more below)",
|
113
|
+
"subject": "18000000136400000000000A5BC138938D44C64D31FEDF00",
|
114
|
+
"string": "-1.000000000000000000000000000000000E+6144"
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"description": "[decq160] fold-downs (more below)",
|
118
|
+
"subject": "18000000136400010000000000000000000000000040B000",
|
119
|
+
"string": "-1"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"description": "[decq172] Nmin and below",
|
123
|
+
"subject": "180000001364000100000000000000000000000000428000",
|
124
|
+
"string": "-1E-6143"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"description": "[decq010] derivative canonical plain strings",
|
128
|
+
"subject": "18000000136400EE020000000000000000000000003AB000",
|
129
|
+
"string": "-0.750"
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"description": "[decq012] derivative canonical plain strings",
|
133
|
+
"subject": "18000000136400EE0200000000000000000000000038B000",
|
134
|
+
"string": "-0.0750"
|
135
|
+
},
|
136
|
+
{
|
137
|
+
"description": "[decq014] derivative canonical plain strings",
|
138
|
+
"subject": "18000000136400EE0200000000000000000000000034B000",
|
139
|
+
"string": "-0.000750"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"description": "[decq016] derivative canonical plain strings",
|
143
|
+
"subject": "18000000136400EE0200000000000000000000000030B000",
|
144
|
+
"string": "-0.00000750"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"description": "[decq404] zeros",
|
148
|
+
"subject": "180000001364000000000000000000000000000000000000",
|
149
|
+
"string": "0E-6176"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"description": "[decq424] negative zeros",
|
153
|
+
"subject": "180000001364000000000000000000000000000000008000",
|
154
|
+
"string": "-0E-6176"
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"description": "[decq407] zeros",
|
158
|
+
"subject": "1800000013640000000000000000000000000000003C3000",
|
159
|
+
"string": "0.00"
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"description": "[decq427] negative zeros",
|
163
|
+
"subject": "1800000013640000000000000000000000000000003CB000",
|
164
|
+
"string": "-0.00"
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"description": "[decq409] zeros",
|
168
|
+
"subject": "180000001364000000000000000000000000000000403000",
|
169
|
+
"string": "0"
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"description": "[decq428] negative zeros",
|
173
|
+
"subject": "18000000136400000000000000000000000000000040B000",
|
174
|
+
"string": "-0"
|
175
|
+
},
|
176
|
+
{
|
177
|
+
"description": "[decq700] Selected DPD codes",
|
178
|
+
"subject": "180000001364000000000000000000000000000000403000",
|
179
|
+
"string": "0"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"description": "[decq406] zeros",
|
183
|
+
"subject": "1800000013640000000000000000000000000000003C3000",
|
184
|
+
"string": "0.00"
|
185
|
+
},
|
186
|
+
{
|
187
|
+
"description": "[decq426] negative zeros",
|
188
|
+
"subject": "1800000013640000000000000000000000000000003CB000",
|
189
|
+
"string": "-0.00"
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"description": "[decq410] zeros",
|
193
|
+
"subject": "180000001364000000000000000000000000000000463000",
|
194
|
+
"string": "0E+3"
|
195
|
+
},
|
196
|
+
{
|
197
|
+
"description": "[decq431] negative zeros",
|
198
|
+
"subject": "18000000136400000000000000000000000000000046B000",
|
199
|
+
"string": "-0E+3"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"description": "[decq419] clamped zeros...",
|
203
|
+
"subject": "180000001364000000000000000000000000000000FE5F00",
|
204
|
+
"string": "0E+6111"
|
205
|
+
},
|
206
|
+
{
|
207
|
+
"description": "[decq432] negative zeros",
|
208
|
+
"subject": "180000001364000000000000000000000000000000FEDF00",
|
209
|
+
"string": "-0E+6111"
|
210
|
+
},
|
211
|
+
{
|
212
|
+
"description": "[decq405] zeros",
|
213
|
+
"subject": "180000001364000000000000000000000000000000000000",
|
214
|
+
"string": "0E-6176"
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"description": "[decq425] negative zeros",
|
218
|
+
"subject": "180000001364000000000000000000000000000000008000",
|
219
|
+
"string": "-0E-6176"
|
220
|
+
},
|
221
|
+
{
|
222
|
+
"description": "[decq508] Specials",
|
223
|
+
"subject": "180000001364000000000000000000000000000000007800",
|
224
|
+
"string": "Infinity"
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"description": "[decq528] Specials",
|
228
|
+
"subject": "18000000136400000000000000000000000000000000F800",
|
229
|
+
"string": "-Infinity"
|
230
|
+
},
|
231
|
+
{
|
232
|
+
"description": "[decq541] Specials",
|
233
|
+
"subject": "180000001364000000000000000000000000000000007C00",
|
234
|
+
"string": "NaN"
|
235
|
+
},
|
236
|
+
{
|
237
|
+
"description": "[decq074] Nmin and below",
|
238
|
+
"subject": "18000000136400000000000A5BC138938D44C64D31000000",
|
239
|
+
"string": "1.000000000000000000000000000000000E-6143"
|
240
|
+
},
|
241
|
+
{
|
242
|
+
"description": "[decq602] fold-down full sequence",
|
243
|
+
"subject": "18000000136400000000000A5BC138938D44C64D31FE5F00",
|
244
|
+
"string": "1.000000000000000000000000000000000E+6144"
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"description": "[decq604] fold-down full sequence",
|
248
|
+
"subject": "180000001364000000000081EFAC855B416D2DEE04FE5F00",
|
249
|
+
"string": "1.00000000000000000000000000000000E+6143"
|
250
|
+
},
|
251
|
+
{
|
252
|
+
"description": "[decq606] fold-down full sequence",
|
253
|
+
"subject": "1800000013640000000080264B91C02220BE377E00FE5F00",
|
254
|
+
"string": "1.0000000000000000000000000000000E+6142"
|
255
|
+
},
|
256
|
+
{
|
257
|
+
"description": "[decq608] fold-down full sequence",
|
258
|
+
"subject": "1800000013640000000040EAED7446D09C2C9F0C00FE5F00",
|
259
|
+
"string": "1.000000000000000000000000000000E+6141"
|
260
|
+
},
|
261
|
+
{
|
262
|
+
"description": "[decq610] fold-down full sequence",
|
263
|
+
"subject": "18000000136400000000A0CA17726DAE0F1E430100FE5F00",
|
264
|
+
"string": "1.00000000000000000000000000000E+6140"
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"description": "[decq612] fold-down full sequence",
|
268
|
+
"subject": "18000000136400000000106102253E5ECE4F200000FE5F00",
|
269
|
+
"string": "1.0000000000000000000000000000E+6139"
|
270
|
+
},
|
271
|
+
{
|
272
|
+
"description": "[decq614] fold-down full sequence",
|
273
|
+
"subject": "18000000136400000000E83C80D09F3C2E3B030000FE5F00",
|
274
|
+
"string": "1.000000000000000000000000000E+6138"
|
275
|
+
},
|
276
|
+
{
|
277
|
+
"description": "[decq616] fold-down full sequence",
|
278
|
+
"subject": "18000000136400000000E4D20CC8DCD2B752000000FE5F00",
|
279
|
+
"string": "1.00000000000000000000000000E+6137"
|
280
|
+
},
|
281
|
+
{
|
282
|
+
"description": "[decq618] fold-down full sequence",
|
283
|
+
"subject": "180000001364000000004A48011416954508000000FE5F00",
|
284
|
+
"string": "1.0000000000000000000000000E+6136"
|
285
|
+
},
|
286
|
+
{
|
287
|
+
"description": "[decq620] fold-down full sequence",
|
288
|
+
"subject": "18000000136400000000A1EDCCCE1BC2D300000000FE5F00",
|
289
|
+
"string": "1.000000000000000000000000E+6135"
|
290
|
+
},
|
291
|
+
{
|
292
|
+
"description": "[decq622] fold-down full sequence",
|
293
|
+
"subject": "18000000136400000080F64AE1C7022D1500000000FE5F00",
|
294
|
+
"string": "1.00000000000000000000000E+6134"
|
295
|
+
},
|
296
|
+
{
|
297
|
+
"description": "[decq624] fold-down full sequence",
|
298
|
+
"subject": "18000000136400000040B2BAC9E0191E0200000000FE5F00",
|
299
|
+
"string": "1.0000000000000000000000E+6133"
|
300
|
+
},
|
301
|
+
{
|
302
|
+
"description": "[decq626] fold-down full sequence",
|
303
|
+
"subject": "180000001364000000A0DEC5ADC935360000000000FE5F00",
|
304
|
+
"string": "1.000000000000000000000E+6132"
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"description": "[decq628] fold-down full sequence",
|
308
|
+
"subject": "18000000136400000010632D5EC76B050000000000FE5F00",
|
309
|
+
"string": "1.00000000000000000000E+6131"
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"description": "[decq630] fold-down full sequence",
|
313
|
+
"subject": "180000001364000000E8890423C78A000000000000FE5F00",
|
314
|
+
"string": "1.0000000000000000000E+6130"
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"description": "[decq632] fold-down full sequence",
|
318
|
+
"subject": "18000000136400000064A7B3B6E00D000000000000FE5F00",
|
319
|
+
"string": "1.000000000000000000E+6129"
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"description": "[decq634] fold-down full sequence",
|
323
|
+
"subject": "1800000013640000008A5D78456301000000000000FE5F00",
|
324
|
+
"string": "1.00000000000000000E+6128"
|
325
|
+
},
|
326
|
+
{
|
327
|
+
"description": "[decq636] fold-down full sequence",
|
328
|
+
"subject": "180000001364000000C16FF2862300000000000000FE5F00",
|
329
|
+
"string": "1.0000000000000000E+6127"
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"description": "[decq638] fold-down full sequence",
|
333
|
+
"subject": "180000001364000080C6A47E8D0300000000000000FE5F00",
|
334
|
+
"string": "1.000000000000000E+6126"
|
335
|
+
},
|
336
|
+
{
|
337
|
+
"description": "[decq640] fold-down full sequence",
|
338
|
+
"subject": "1800000013640000407A10F35A0000000000000000FE5F00",
|
339
|
+
"string": "1.00000000000000E+6125"
|
340
|
+
},
|
341
|
+
{
|
342
|
+
"description": "[decq642] fold-down full sequence",
|
343
|
+
"subject": "1800000013640000A0724E18090000000000000000FE5F00",
|
344
|
+
"string": "1.0000000000000E+6124"
|
345
|
+
},
|
346
|
+
{
|
347
|
+
"description": "[decq644] fold-down full sequence",
|
348
|
+
"subject": "180000001364000010A5D4E8000000000000000000FE5F00",
|
349
|
+
"string": "1.000000000000E+6123"
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"description": "[decq646] fold-down full sequence",
|
353
|
+
"subject": "1800000013640000E8764817000000000000000000FE5F00",
|
354
|
+
"string": "1.00000000000E+6122"
|
355
|
+
},
|
356
|
+
{
|
357
|
+
"description": "[decq648] fold-down full sequence",
|
358
|
+
"subject": "1800000013640000E40B5402000000000000000000FE5F00",
|
359
|
+
"string": "1.0000000000E+6121"
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"description": "[decq650] fold-down full sequence",
|
363
|
+
"subject": "1800000013640000CA9A3B00000000000000000000FE5F00",
|
364
|
+
"string": "1.000000000E+6120"
|
365
|
+
},
|
366
|
+
{
|
367
|
+
"description": "[decq652] fold-down full sequence",
|
368
|
+
"subject": "1800000013640000E1F50500000000000000000000FE5F00",
|
369
|
+
"string": "1.00000000E+6119"
|
370
|
+
},
|
371
|
+
{
|
372
|
+
"description": "[decq654] fold-down full sequence",
|
373
|
+
"subject": "180000001364008096980000000000000000000000FE5F00",
|
374
|
+
"string": "1.0000000E+6118"
|
375
|
+
},
|
376
|
+
{
|
377
|
+
"description": "[decq656] fold-down full sequence",
|
378
|
+
"subject": "1800000013640040420F0000000000000000000000FE5F00",
|
379
|
+
"string": "1.000000E+6117"
|
380
|
+
},
|
381
|
+
{
|
382
|
+
"description": "[decq658] fold-down full sequence",
|
383
|
+
"subject": "18000000136400A086010000000000000000000000FE5F00",
|
384
|
+
"string": "1.00000E+6116"
|
385
|
+
},
|
386
|
+
{
|
387
|
+
"description": "[decq660] fold-down full sequence",
|
388
|
+
"subject": "180000001364001027000000000000000000000000FE5F00",
|
389
|
+
"string": "1.0000E+6115"
|
390
|
+
},
|
391
|
+
{
|
392
|
+
"description": "[decq662] fold-down full sequence",
|
393
|
+
"subject": "18000000136400E803000000000000000000000000FE5F00",
|
394
|
+
"string": "1.000E+6114"
|
395
|
+
},
|
396
|
+
{
|
397
|
+
"description": "[decq664] fold-down full sequence",
|
398
|
+
"subject": "180000001364006400000000000000000000000000FE5F00",
|
399
|
+
"string": "1.00E+6113"
|
400
|
+
},
|
401
|
+
{
|
402
|
+
"description": "[decq666] fold-down full sequence",
|
403
|
+
"subject": "180000001364000A00000000000000000000000000FE5F00",
|
404
|
+
"string": "1.0E+6112"
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"description": "[decq060] fold-downs (more below)",
|
408
|
+
"subject": "180000001364000100000000000000000000000000403000",
|
409
|
+
"string": "1"
|
410
|
+
},
|
411
|
+
{
|
412
|
+
"description": "[decq670] fold-down full sequence",
|
413
|
+
"subject": "180000001364000100000000000000000000000000FC5F00",
|
414
|
+
"string": "1E+6110"
|
415
|
+
},
|
416
|
+
{
|
417
|
+
"description": "[decq668] fold-down full sequence",
|
418
|
+
"subject": "180000001364000100000000000000000000000000FE5F00",
|
419
|
+
"string": "1E+6111"
|
420
|
+
},
|
421
|
+
{
|
422
|
+
"description": "[decq072] Nmin and below",
|
423
|
+
"subject": "180000001364000100000000000000000000000000420000",
|
424
|
+
"string": "1E-6143"
|
425
|
+
},
|
426
|
+
{
|
427
|
+
"description": "[decq076] Nmin and below",
|
428
|
+
"subject": "18000000136400010000000A5BC138938D44C64D31000000",
|
429
|
+
"string": "1.000000000000000000000000000000001E-6143"
|
430
|
+
},
|
431
|
+
{
|
432
|
+
"description": "[decq036] fold-downs (more below)",
|
433
|
+
"subject": "18000000136400000000807F1BCF85B27059C8A43CFE5F00",
|
434
|
+
"string": "1.230000000000000000000000000000000E+6144"
|
435
|
+
},
|
436
|
+
{
|
437
|
+
"description": "[decq062] fold-downs (more below)",
|
438
|
+
"subject": "180000001364007B000000000000000000000000003C3000",
|
439
|
+
"string": "1.23"
|
440
|
+
},
|
441
|
+
{
|
442
|
+
"description": "[decq034] Nmax and similar",
|
443
|
+
"subject": "18000000136400F2AF967ED05C82DE3297FF6FDE3CFE5F00",
|
444
|
+
"string": "1.234567890123456789012345678901234E+6144"
|
445
|
+
},
|
446
|
+
{
|
447
|
+
"description": "[decq441] exponent lengths",
|
448
|
+
"subject": "180000001364000700000000000000000000000000403000",
|
449
|
+
"string": "7"
|
450
|
+
},
|
451
|
+
{
|
452
|
+
"description": "[decq449] exponent lengths",
|
453
|
+
"subject": "1800000013640007000000000000000000000000001E5F00",
|
454
|
+
"string": "7E+5999"
|
455
|
+
},
|
456
|
+
{
|
457
|
+
"description": "[decq447] exponent lengths",
|
458
|
+
"subject": "1800000013640007000000000000000000000000000E3800",
|
459
|
+
"string": "7E+999"
|
460
|
+
},
|
461
|
+
{
|
462
|
+
"description": "[decq445] exponent lengths",
|
463
|
+
"subject": "180000001364000700000000000000000000000000063100",
|
464
|
+
"string": "7E+99"
|
465
|
+
},
|
466
|
+
{
|
467
|
+
"description": "[decq443] exponent lengths",
|
468
|
+
"subject": "180000001364000700000000000000000000000000523000",
|
469
|
+
"string": "7E+9"
|
470
|
+
},
|
471
|
+
{
|
472
|
+
"description": "[decq842] VG testcase",
|
473
|
+
"subject": "180000001364000000FED83F4E7C9FE4E269E38A5BCD1700",
|
474
|
+
"string": "7.049000000000010795488000000000000E-3097"
|
475
|
+
},
|
476
|
+
{
|
477
|
+
"description": "[decq841] VG testcase",
|
478
|
+
"subject": "180000001364000000203B9DB5056F000000000000002400",
|
479
|
+
"string": "8.000000000000000000E-1550"
|
480
|
+
},
|
481
|
+
{
|
482
|
+
"description": "[decq840] VG testcase",
|
483
|
+
"subject": "180000001364003C17258419D710C42F0000000000002400",
|
484
|
+
"string": "8.81125000000001349436E-1548"
|
485
|
+
},
|
486
|
+
{
|
487
|
+
"description": "[decq701] Selected DPD codes",
|
488
|
+
"subject": "180000001364000900000000000000000000000000403000",
|
489
|
+
"string": "9"
|
490
|
+
},
|
491
|
+
{
|
492
|
+
"description": "[decq032] Nmax and similar",
|
493
|
+
"subject": "18000000136400FFFFFFFF638E8D37C087ADBE09EDFF5F00",
|
494
|
+
"string": "9.999999999999999999999999999999999E+6144"
|
495
|
+
},
|
496
|
+
{
|
497
|
+
"description": "[decq702] Selected DPD codes",
|
498
|
+
"subject": "180000001364000A00000000000000000000000000403000",
|
499
|
+
"string": "10"
|
500
|
+
},
|
501
|
+
{
|
502
|
+
"description": "[decq057] fold-downs (more below)",
|
503
|
+
"subject": "180000001364000C00000000000000000000000000403000",
|
504
|
+
"string": "12"
|
505
|
+
},
|
506
|
+
{
|
507
|
+
"description": "[decq703] Selected DPD codes",
|
508
|
+
"subject": "180000001364001300000000000000000000000000403000",
|
509
|
+
"string": "19"
|
510
|
+
},
|
511
|
+
{
|
512
|
+
"description": "[decq704] Selected DPD codes",
|
513
|
+
"subject": "180000001364001400000000000000000000000000403000",
|
514
|
+
"string": "20"
|
515
|
+
},
|
516
|
+
{
|
517
|
+
"description": "[decq705] Selected DPD codes",
|
518
|
+
"subject": "180000001364001D00000000000000000000000000403000",
|
519
|
+
"string": "29"
|
520
|
+
},
|
521
|
+
{
|
522
|
+
"description": "[decq706] Selected DPD codes",
|
523
|
+
"subject": "180000001364001E00000000000000000000000000403000",
|
524
|
+
"string": "30"
|
525
|
+
},
|
526
|
+
{
|
527
|
+
"description": "[decq707] Selected DPD codes",
|
528
|
+
"subject": "180000001364002700000000000000000000000000403000",
|
529
|
+
"string": "39"
|
530
|
+
},
|
531
|
+
{
|
532
|
+
"description": "[decq708] Selected DPD codes",
|
533
|
+
"subject": "180000001364002800000000000000000000000000403000",
|
534
|
+
"string": "40"
|
535
|
+
},
|
536
|
+
{
|
537
|
+
"description": "[decq709] Selected DPD codes",
|
538
|
+
"subject": "180000001364003100000000000000000000000000403000",
|
539
|
+
"string": "49"
|
540
|
+
},
|
541
|
+
{
|
542
|
+
"description": "[decq710] Selected DPD codes",
|
543
|
+
"subject": "180000001364003200000000000000000000000000403000",
|
544
|
+
"string": "50"
|
545
|
+
},
|
546
|
+
{
|
547
|
+
"description": "[decq711] Selected DPD codes",
|
548
|
+
"subject": "180000001364003B00000000000000000000000000403000",
|
549
|
+
"string": "59"
|
550
|
+
},
|
551
|
+
{
|
552
|
+
"description": "[decq712] Selected DPD codes",
|
553
|
+
"subject": "180000001364003C00000000000000000000000000403000",
|
554
|
+
"string": "60"
|
555
|
+
},
|
556
|
+
{
|
557
|
+
"description": "[decq713] Selected DPD codes",
|
558
|
+
"subject": "180000001364004500000000000000000000000000403000",
|
559
|
+
"string": "69"
|
560
|
+
},
|
561
|
+
{
|
562
|
+
"description": "[decq714] Selected DPD codes",
|
563
|
+
"subject": "180000001364004600000000000000000000000000403000",
|
564
|
+
"string": "70"
|
565
|
+
},
|
566
|
+
{
|
567
|
+
"description": "[decq715] Selected DPD codes",
|
568
|
+
"subject": "180000001364004700000000000000000000000000403000",
|
569
|
+
"string": "71"
|
570
|
+
},
|
571
|
+
{
|
572
|
+
"description": "[decq716] Selected DPD codes",
|
573
|
+
"subject": "180000001364004800000000000000000000000000403000",
|
574
|
+
"string": "72"
|
575
|
+
},
|
576
|
+
{
|
577
|
+
"description": "[decq717] Selected DPD codes",
|
578
|
+
"subject": "180000001364004900000000000000000000000000403000",
|
579
|
+
"string": "73"
|
580
|
+
},
|
581
|
+
{
|
582
|
+
"description": "[decq718] Selected DPD codes",
|
583
|
+
"subject": "180000001364004A00000000000000000000000000403000",
|
584
|
+
"string": "74"
|
585
|
+
},
|
586
|
+
{
|
587
|
+
"description": "[decq719] Selected DPD codes",
|
588
|
+
"subject": "180000001364004B00000000000000000000000000403000",
|
589
|
+
"string": "75"
|
590
|
+
},
|
591
|
+
{
|
592
|
+
"description": "[decq720] Selected DPD codes",
|
593
|
+
"subject": "180000001364004C00000000000000000000000000403000",
|
594
|
+
"string": "76"
|
595
|
+
},
|
596
|
+
{
|
597
|
+
"description": "[decq721] Selected DPD codes",
|
598
|
+
"subject": "180000001364004D00000000000000000000000000403000",
|
599
|
+
"string": "77"
|
600
|
+
},
|
601
|
+
{
|
602
|
+
"description": "[decq722] Selected DPD codes",
|
603
|
+
"subject": "180000001364004E00000000000000000000000000403000",
|
604
|
+
"string": "78"
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"description": "[decq723] Selected DPD codes",
|
608
|
+
"subject": "180000001364004F00000000000000000000000000403000",
|
609
|
+
"string": "79"
|
610
|
+
},
|
611
|
+
{
|
612
|
+
"description": "[decq056] fold-downs (more below)",
|
613
|
+
"subject": "180000001364007B00000000000000000000000000403000",
|
614
|
+
"string": "123"
|
615
|
+
},
|
616
|
+
{
|
617
|
+
"description": "[decq064] fold-downs (more below)",
|
618
|
+
"subject": "1800000013640039300000000000000000000000003C3000",
|
619
|
+
"string": "123.45"
|
620
|
+
},
|
621
|
+
{
|
622
|
+
"description": "[decq732] Selected DPD codes",
|
623
|
+
"subject": "180000001364000802000000000000000000000000403000",
|
624
|
+
"string": "520"
|
625
|
+
},
|
626
|
+
{
|
627
|
+
"description": "[decq733] Selected DPD codes",
|
628
|
+
"subject": "180000001364000902000000000000000000000000403000",
|
629
|
+
"string": "521"
|
630
|
+
},
|
631
|
+
{
|
632
|
+
"description": "[decq740] DPD: one of each of the huffman groups",
|
633
|
+
"subject": "180000001364000903000000000000000000000000403000",
|
634
|
+
"string": "777"
|
635
|
+
},
|
636
|
+
{
|
637
|
+
"description": "[decq741] DPD: one of each of the huffman groups",
|
638
|
+
"subject": "180000001364000A03000000000000000000000000403000",
|
639
|
+
"string": "778"
|
640
|
+
},
|
641
|
+
{
|
642
|
+
"description": "[decq742] DPD: one of each of the huffman groups",
|
643
|
+
"subject": "180000001364001303000000000000000000000000403000",
|
644
|
+
"string": "787"
|
645
|
+
},
|
646
|
+
{
|
647
|
+
"description": "[decq746] DPD: one of each of the huffman groups",
|
648
|
+
"subject": "180000001364001F03000000000000000000000000403000",
|
649
|
+
"string": "799"
|
650
|
+
},
|
651
|
+
{
|
652
|
+
"description": "[decq743] DPD: one of each of the huffman groups",
|
653
|
+
"subject": "180000001364006D03000000000000000000000000403000",
|
654
|
+
"string": "877"
|
655
|
+
},
|
656
|
+
{
|
657
|
+
"description": "[decq753] DPD all-highs cases (includes the 24 redundant codes)",
|
658
|
+
"subject": "180000001364007803000000000000000000000000403000",
|
659
|
+
"string": "888"
|
660
|
+
},
|
661
|
+
{
|
662
|
+
"description": "[decq754] DPD all-highs cases (includes the 24 redundant codes)",
|
663
|
+
"subject": "180000001364007903000000000000000000000000403000",
|
664
|
+
"string": "889"
|
665
|
+
},
|
666
|
+
{
|
667
|
+
"description": "[decq760] DPD all-highs cases (includes the 24 redundant codes)",
|
668
|
+
"subject": "180000001364008203000000000000000000000000403000",
|
669
|
+
"string": "898"
|
670
|
+
},
|
671
|
+
{
|
672
|
+
"description": "[decq764] DPD all-highs cases (includes the 24 redundant codes)",
|
673
|
+
"subject": "180000001364008303000000000000000000000000403000",
|
674
|
+
"string": "899"
|
675
|
+
},
|
676
|
+
{
|
677
|
+
"description": "[decq745] DPD: one of each of the huffman groups",
|
678
|
+
"subject": "18000000136400D303000000000000000000000000403000",
|
679
|
+
"string": "979"
|
680
|
+
},
|
681
|
+
{
|
682
|
+
"description": "[decq770] DPD all-highs cases (includes the 24 redundant codes)",
|
683
|
+
"subject": "18000000136400DC03000000000000000000000000403000",
|
684
|
+
"string": "988"
|
685
|
+
},
|
686
|
+
{
|
687
|
+
"description": "[decq774] DPD all-highs cases (includes the 24 redundant codes)",
|
688
|
+
"subject": "18000000136400DD03000000000000000000000000403000",
|
689
|
+
"string": "989"
|
690
|
+
},
|
691
|
+
{
|
692
|
+
"description": "[decq730] Selected DPD codes",
|
693
|
+
"subject": "18000000136400E203000000000000000000000000403000",
|
694
|
+
"string": "994"
|
695
|
+
},
|
696
|
+
{
|
697
|
+
"description": "[decq731] Selected DPD codes",
|
698
|
+
"subject": "18000000136400E303000000000000000000000000403000",
|
699
|
+
"string": "995"
|
700
|
+
},
|
701
|
+
{
|
702
|
+
"description": "[decq744] DPD: one of each of the huffman groups",
|
703
|
+
"subject": "18000000136400E503000000000000000000000000403000",
|
704
|
+
"string": "997"
|
705
|
+
},
|
706
|
+
{
|
707
|
+
"description": "[decq780] DPD all-highs cases (includes the 24 redundant codes)",
|
708
|
+
"subject": "18000000136400E603000000000000000000000000403000",
|
709
|
+
"string": "998"
|
710
|
+
},
|
711
|
+
{
|
712
|
+
"description": "[decq787] DPD all-highs cases (includes the 24 redundant codes)",
|
713
|
+
"subject": "18000000136400E703000000000000000000000000403000",
|
714
|
+
"string": "999"
|
715
|
+
},
|
716
|
+
{
|
717
|
+
"description": "[decq053] fold-downs (more below)",
|
718
|
+
"subject": "18000000136400D204000000000000000000000000403000",
|
719
|
+
"string": "1234"
|
720
|
+
},
|
721
|
+
{
|
722
|
+
"description": "[decq052] fold-downs (more below)",
|
723
|
+
"subject": "180000001364003930000000000000000000000000403000",
|
724
|
+
"string": "12345"
|
725
|
+
},
|
726
|
+
{
|
727
|
+
"description": "[decq792] Miscellaneous (testers' queries, etc.)",
|
728
|
+
"subject": "180000001364003075000000000000000000000000403000",
|
729
|
+
"string": "30000"
|
730
|
+
},
|
731
|
+
{
|
732
|
+
"description": "[decq793] Miscellaneous (testers' queries, etc.)",
|
733
|
+
"subject": "1800000013640090940D0000000000000000000000403000",
|
734
|
+
"string": "890000"
|
735
|
+
},
|
736
|
+
{
|
737
|
+
"description": "[decq824] values around [u]int32 edges (zeros done earlier)",
|
738
|
+
"subject": "18000000136400FEFFFF7F00000000000000000000403000",
|
739
|
+
"string": "2147483646"
|
740
|
+
},
|
741
|
+
{
|
742
|
+
"description": "[decq825] values around [u]int32 edges (zeros done earlier)",
|
743
|
+
"subject": "18000000136400FFFFFF7F00000000000000000000403000",
|
744
|
+
"string": "2147483647"
|
745
|
+
},
|
746
|
+
{
|
747
|
+
"description": "[decq826] values around [u]int32 edges (zeros done earlier)",
|
748
|
+
"subject": "180000001364000000008000000000000000000000403000",
|
749
|
+
"string": "2147483648"
|
750
|
+
},
|
751
|
+
{
|
752
|
+
"description": "[decq827] values around [u]int32 edges (zeros done earlier)",
|
753
|
+
"subject": "180000001364000100008000000000000000000000403000",
|
754
|
+
"string": "2147483649"
|
755
|
+
},
|
756
|
+
{
|
757
|
+
"description": "[decq828] values around [u]int32 edges (zeros done earlier)",
|
758
|
+
"subject": "18000000136400FEFFFFFF00000000000000000000403000",
|
759
|
+
"string": "4294967294"
|
760
|
+
},
|
761
|
+
{
|
762
|
+
"description": "[decq829] values around [u]int32 edges (zeros done earlier)",
|
763
|
+
"subject": "18000000136400FFFFFFFF00000000000000000000403000",
|
764
|
+
"string": "4294967295"
|
765
|
+
},
|
766
|
+
{
|
767
|
+
"description": "[decq830] values around [u]int32 edges (zeros done earlier)",
|
768
|
+
"subject": "180000001364000000000001000000000000000000403000",
|
769
|
+
"string": "4294967296"
|
770
|
+
},
|
771
|
+
{
|
772
|
+
"description": "[decq831] values around [u]int32 edges (zeros done earlier)",
|
773
|
+
"subject": "180000001364000100000001000000000000000000403000",
|
774
|
+
"string": "4294967297"
|
775
|
+
},
|
776
|
+
{
|
777
|
+
"description": "[decq022] Normality",
|
778
|
+
"subject": "18000000136400C7711CC7B548F377DC80A131C836403000",
|
779
|
+
"string": "1111111111111111111111111111111111"
|
780
|
+
},
|
781
|
+
{
|
782
|
+
"description": "[decq020] Normality",
|
783
|
+
"subject": "18000000136400F2AF967ED05C82DE3297FF6FDE3C403000",
|
784
|
+
"string": "1234567890123456789012345678901234"
|
785
|
+
},
|
786
|
+
{
|
787
|
+
"description": "[decq550] Specials",
|
788
|
+
"subject": "18000000136400FFFFFFFF638E8D37C087ADBE09ED413000",
|
789
|
+
"string": "9999999999999999999999999999999999"
|
790
|
+
}
|
791
|
+
]
|
792
|
+
}
|
793
|
+
|