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.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/Rakefile +18 -3
  5. data/lib/bson-ruby.jar +0 -0
  6. data/lib/bson.rb +6 -4
  7. data/lib/bson/array.rb +1 -1
  8. data/lib/bson/binary.rb +4 -2
  9. data/lib/bson/code.rb +1 -1
  10. data/lib/bson/code_with_scope.rb +1 -1
  11. data/lib/bson/config.rb +1 -1
  12. data/lib/bson/date.rb +1 -1
  13. data/lib/bson/date_time.rb +1 -1
  14. data/lib/bson/decimal128.rb +318 -0
  15. data/lib/bson/decimal128/builder.rb +448 -0
  16. data/lib/bson/document.rb +2 -2
  17. data/lib/bson/environment.rb +13 -1
  18. data/lib/bson/false_class.rb +1 -1
  19. data/lib/bson/float.rb +1 -1
  20. data/lib/bson/hash.rb +1 -1
  21. data/lib/bson/int32.rb +46 -0
  22. data/lib/bson/int64.rb +46 -0
  23. data/lib/bson/integer.rb +1 -1
  24. data/lib/bson/max_key.rb +1 -1
  25. data/lib/bson/min_key.rb +1 -1
  26. data/lib/bson/object_id.rb +3 -2
  27. data/lib/bson/open_struct.rb +57 -0
  28. data/lib/bson/regexp.rb +87 -19
  29. data/lib/bson/registry.rb +1 -1
  30. data/lib/bson/specialized.rb +1 -1
  31. data/lib/bson/string.rb +1 -1
  32. data/lib/bson/symbol.rb +1 -1
  33. data/lib/bson/time.rb +1 -1
  34. data/lib/bson/timestamp.rb +2 -2
  35. data/lib/bson/true_class.rb +1 -1
  36. data/lib/bson/version.rb +2 -2
  37. data/spec/bson/array_spec.rb +1 -1
  38. data/spec/bson/binary_spec.rb +2 -1
  39. data/spec/bson/corpus_spec.rb +68 -0
  40. data/spec/bson/decimal128_spec.rb +1583 -0
  41. data/spec/bson/document_spec.rb +1 -1
  42. data/spec/bson/driver_bson_spec.rb +77 -0
  43. data/spec/bson/int32_spec.rb +58 -0
  44. data/spec/bson/int64_spec.rb +58 -0
  45. data/spec/bson/open_struct_spec.rb +144 -0
  46. data/spec/bson/raw_spec.rb +540 -0
  47. data/spec/bson/regexp_spec.rb +7 -7
  48. data/spec/bson/timestamp_spec.rb +1 -1
  49. data/spec/spec_helper.rb +5 -0
  50. data/spec/support/common_driver.rb +347 -0
  51. data/spec/support/corpus-tests/array.json +43 -0
  52. data/spec/support/corpus-tests/boolean.json +27 -0
  53. data/spec/support/corpus-tests/code.json +67 -0
  54. data/spec/support/corpus-tests/code_w_scope.json +78 -0
  55. data/spec/support/corpus-tests/document.json +36 -0
  56. data/spec/support/corpus-tests/double.json +69 -0
  57. data/spec/support/corpus-tests/failures/binary.json +69 -0
  58. data/spec/support/corpus-tests/failures/datetime.json +31 -0
  59. data/spec/support/corpus-tests/failures/dbpointer.json +42 -0
  60. data/spec/support/corpus-tests/failures/int64.json +38 -0
  61. data/spec/support/corpus-tests/failures/symbol.json +62 -0
  62. data/spec/support/corpus-tests/failures/undefined.json +13 -0
  63. data/spec/support/corpus-tests/int32.json +38 -0
  64. data/spec/support/corpus-tests/maxkey.json +12 -0
  65. data/spec/support/corpus-tests/minkey.json +12 -0
  66. data/spec/support/corpus-tests/null.json +12 -0
  67. data/spec/support/corpus-tests/oid.json +28 -0
  68. data/spec/support/corpus-tests/regex.json +37 -0
  69. data/spec/support/corpus-tests/string.json +67 -0
  70. data/spec/support/corpus-tests/timestamp.json +18 -0
  71. data/spec/support/corpus-tests/top.json +62 -0
  72. data/spec/support/corpus.rb +265 -0
  73. data/spec/support/driver-spec-tests/decimal128/decimal128-1.json +363 -0
  74. data/spec/support/driver-spec-tests/decimal128/decimal128-2.json +793 -0
  75. data/spec/support/driver-spec-tests/decimal128/decimal128-3.json +1771 -0
  76. data/spec/support/driver-spec-tests/decimal128/decimal128-4.json +165 -0
  77. data/spec/support/driver-spec-tests/decimal128/decimal128-5.json +402 -0
  78. data/spec/support/driver-spec-tests/decimal128/decimal128-6.json +131 -0
  79. data/spec/support/driver-spec-tests/decimal128/decimal128-7.json +327 -0
  80. data/spec/support/shared_examples.rb +1 -1
  81. metadata +77 -4
  82. metadata.gz.sig +0 -0
@@ -0,0 +1,1771 @@
1
+ {
2
+ "description": "Decimal128",
3
+ "bson_type": "0x13",
4
+ "test_key": "d",
5
+ "valid": [
6
+ {
7
+ "description": "[basx066] strings without E cannot generate E in result",
8
+ "subject": "18000000136400185C0ACE0000000000000000000038B000",
9
+ "string": "-00345678.5432",
10
+ "match_string": "-345678.5432"
11
+ },
12
+ {
13
+ "description": "[basx065] strings without E cannot generate E in result",
14
+ "subject": "18000000136400185C0ACE0000000000000000000038B000",
15
+ "string": "-0345678.5432",
16
+ "match_string": "-345678.5432"
17
+ },
18
+ {
19
+ "description": "[basx064] strings without E cannot generate E in result",
20
+ "subject": "18000000136400185C0ACE0000000000000000000038B000",
21
+ "string": "-345678.5432"
22
+ },
23
+ {
24
+ "description": "[basx041] strings without E cannot generate E in result",
25
+ "subject": "180000001364004C0000000000000000000000000040B000",
26
+ "string": "-76"
27
+ },
28
+ {
29
+ "description": "[basx027] conform to rules and exponent will be in permitted range).",
30
+ "subject": "180000001364000F270000000000000000000000003AB000",
31
+ "string": "-9.999"
32
+ },
33
+ {
34
+ "description": "[basx026] conform to rules and exponent will be in permitted range).",
35
+ "subject": "180000001364009F230000000000000000000000003AB000",
36
+ "string": "-9.119"
37
+ },
38
+ {
39
+ "description": "[basx025] conform to rules and exponent will be in permitted range).",
40
+ "subject": "180000001364008F030000000000000000000000003CB000",
41
+ "string": "-9.11"
42
+ },
43
+ {
44
+ "description": "[basx024] conform to rules and exponent will be in permitted range).",
45
+ "subject": "180000001364005B000000000000000000000000003EB000",
46
+ "string": "-9.1"
47
+ },
48
+ {
49
+ "description": "[dqbsr531] negatives (Rounded)",
50
+ "subject": "1800000013640099761CC7B548F377DC80A131C836FEAF00",
51
+ "string": "-1.1111111111111111111111111111123450",
52
+ "match_string": "-1.111111111111111111111111111112345"
53
+ },
54
+ {
55
+ "description": "[basx022] conform to rules and exponent will be in permitted range).",
56
+ "subject": "180000001364000A000000000000000000000000003EB000",
57
+ "string": "-1.0"
58
+ },
59
+ {
60
+ "description": "[basx021] conform to rules and exponent will be in permitted range).",
61
+ "subject": "18000000136400010000000000000000000000000040B000",
62
+ "string": "-1"
63
+ },
64
+ {
65
+ "description": "[basx601] Zeros",
66
+ "subject": "1800000013640000000000000000000000000000002E3000",
67
+ "string": "0.000000000",
68
+ "match_string": "0E-9"
69
+ },
70
+ {
71
+ "description": "[basx622] Zeros",
72
+ "subject": "1800000013640000000000000000000000000000002EB000",
73
+ "string": "-0.000000000",
74
+ "match_string": "-0E-9"
75
+ },
76
+ {
77
+ "description": "[basx602] Zeros",
78
+ "subject": "180000001364000000000000000000000000000000303000",
79
+ "string": "0.00000000",
80
+ "match_string": "0E-8"
81
+ },
82
+ {
83
+ "description": "[basx621] Zeros",
84
+ "subject": "18000000136400000000000000000000000000000030B000",
85
+ "string": "-0.00000000",
86
+ "match_string": "-0E-8"
87
+ },
88
+ {
89
+ "description": "[basx603] Zeros",
90
+ "subject": "180000001364000000000000000000000000000000323000",
91
+ "string": "0.0000000",
92
+ "match_string": "0E-7"
93
+ },
94
+ {
95
+ "description": "[basx620] Zeros",
96
+ "subject": "18000000136400000000000000000000000000000032B000",
97
+ "string": "-0.0000000",
98
+ "match_string": "-0E-7"
99
+ },
100
+ {
101
+ "description": "[basx604] Zeros",
102
+ "subject": "180000001364000000000000000000000000000000343000",
103
+ "string": "0.000000"
104
+ },
105
+ {
106
+ "description": "[basx619] Zeros",
107
+ "subject": "18000000136400000000000000000000000000000034B000",
108
+ "string": "-0.000000"
109
+ },
110
+ {
111
+ "description": "[basx605] Zeros",
112
+ "subject": "180000001364000000000000000000000000000000363000",
113
+ "string": "0.00000"
114
+ },
115
+ {
116
+ "description": "[basx618] Zeros",
117
+ "subject": "18000000136400000000000000000000000000000036B000",
118
+ "string": "-0.00000"
119
+ },
120
+ {
121
+ "description": "[basx680] Zeros",
122
+ "subject": "180000001364000000000000000000000000000000403000",
123
+ "string": "000000.",
124
+ "match_string": "0"
125
+ },
126
+ {
127
+ "description": "[basx606] Zeros",
128
+ "subject": "180000001364000000000000000000000000000000383000",
129
+ "string": "0.0000"
130
+ },
131
+ {
132
+ "description": "[basx617] Zeros",
133
+ "subject": "18000000136400000000000000000000000000000038B000",
134
+ "string": "-0.0000"
135
+ },
136
+ {
137
+ "description": "[basx681] Zeros",
138
+ "subject": "180000001364000000000000000000000000000000403000",
139
+ "string": "00000.",
140
+ "match_string": "0"
141
+ },
142
+ {
143
+ "description": "[basx686] Zeros",
144
+ "subject": "180000001364000000000000000000000000000000403000",
145
+ "string": "+00000.",
146
+ "match_string": "0"
147
+ },
148
+ {
149
+ "description": "[basx687] Zeros",
150
+ "subject": "18000000136400000000000000000000000000000040B000",
151
+ "string": "-00000.",
152
+ "match_string": "-0"
153
+ },
154
+ {
155
+ "description": "[basx019] conform to rules and exponent will be in permitted range).",
156
+ "subject": "1800000013640000000000000000000000000000003CB000",
157
+ "string": "-00.00",
158
+ "match_string": "-0.00"
159
+ },
160
+ {
161
+ "description": "[basx607] Zeros",
162
+ "subject": "1800000013640000000000000000000000000000003A3000",
163
+ "string": "0.000"
164
+ },
165
+ {
166
+ "description": "[basx616] Zeros",
167
+ "subject": "1800000013640000000000000000000000000000003AB000",
168
+ "string": "-0.000"
169
+ },
170
+ {
171
+ "description": "[basx682] Zeros",
172
+ "subject": "180000001364000000000000000000000000000000403000",
173
+ "string": "0000.",
174
+ "match_string": "0"
175
+ },
176
+ {
177
+ "description": "[basx155] Numbers with E",
178
+ "subject": "1800000013640000000000000000000000000000003A3000",
179
+ "string": "0.000e+0",
180
+ "match_string": "0.000"
181
+ },
182
+ {
183
+ "description": "[basx130] Numbers with E",
184
+ "subject": "180000001364000000000000000000000000000000383000",
185
+ "string": "0.000E-1",
186
+ "match_string": "0.0000"
187
+ },
188
+ {
189
+ "description": "[basx290] some more negative zeros [systematic tests below]",
190
+ "subject": "18000000136400000000000000000000000000000038B000",
191
+ "string": "-0.000E-1",
192
+ "match_string": "-0.0000"
193
+ },
194
+ {
195
+ "description": "[basx131] Numbers with E",
196
+ "subject": "180000001364000000000000000000000000000000363000",
197
+ "string": "0.000E-2",
198
+ "match_string": "0.00000"
199
+ },
200
+ {
201
+ "description": "[basx291] some more negative zeros [systematic tests below]",
202
+ "subject": "18000000136400000000000000000000000000000036B000",
203
+ "string": "-0.000E-2",
204
+ "match_string": "-0.00000"
205
+ },
206
+ {
207
+ "description": "[basx132] Numbers with E",
208
+ "subject": "180000001364000000000000000000000000000000343000",
209
+ "string": "0.000E-3",
210
+ "match_string": "0.000000"
211
+ },
212
+ {
213
+ "description": "[basx292] some more negative zeros [systematic tests below]",
214
+ "subject": "18000000136400000000000000000000000000000034B000",
215
+ "string": "-0.000E-3",
216
+ "match_string": "-0.000000"
217
+ },
218
+ {
219
+ "description": "[basx133] Numbers with E",
220
+ "subject": "180000001364000000000000000000000000000000323000",
221
+ "string": "0.000E-4",
222
+ "match_string": "0E-7"
223
+ },
224
+ {
225
+ "description": "[basx293] some more negative zeros [systematic tests below]",
226
+ "subject": "18000000136400000000000000000000000000000032B000",
227
+ "string": "-0.000E-4",
228
+ "match_string": "-0E-7"
229
+ },
230
+ {
231
+ "description": "[basx608] Zeros",
232
+ "subject": "1800000013640000000000000000000000000000003C3000",
233
+ "string": "0.00"
234
+ },
235
+ {
236
+ "description": "[basx615] Zeros",
237
+ "subject": "1800000013640000000000000000000000000000003CB000",
238
+ "string": "-0.00"
239
+ },
240
+ {
241
+ "description": "[basx683] Zeros",
242
+ "subject": "180000001364000000000000000000000000000000403000",
243
+ "string": "000.",
244
+ "match_string": "0"
245
+ },
246
+ {
247
+ "description": "[basx630] Zeros",
248
+ "subject": "1800000013640000000000000000000000000000003C3000",
249
+ "string": "0.00E+0",
250
+ "match_string": "0.00"
251
+ },
252
+ {
253
+ "description": "[basx670] Zeros",
254
+ "subject": "1800000013640000000000000000000000000000003C3000",
255
+ "string": "0.00E-0",
256
+ "match_string": "0.00"
257
+ },
258
+ {
259
+ "description": "[basx631] Zeros",
260
+ "subject": "1800000013640000000000000000000000000000003E3000",
261
+ "string": "0.00E+1",
262
+ "match_string": "0.0"
263
+ },
264
+ {
265
+ "description": "[basx671] Zeros",
266
+ "subject": "1800000013640000000000000000000000000000003A3000",
267
+ "string": "0.00E-1",
268
+ "match_string": "0.000"
269
+ },
270
+ {
271
+ "description": "[basx134] Numbers with E",
272
+ "subject": "180000001364000000000000000000000000000000383000",
273
+ "string": "0.00E-2",
274
+ "match_string": "0.0000"
275
+ },
276
+ {
277
+ "description": "[basx294] some more negative zeros [systematic tests below]",
278
+ "subject": "18000000136400000000000000000000000000000038B000",
279
+ "string": "-0.00E-2",
280
+ "match_string": "-0.0000"
281
+ },
282
+ {
283
+ "description": "[basx632] Zeros",
284
+ "subject": "180000001364000000000000000000000000000000403000",
285
+ "string": "0.00E+2",
286
+ "match_string": "0"
287
+ },
288
+ {
289
+ "description": "[basx672] Zeros",
290
+ "subject": "180000001364000000000000000000000000000000383000",
291
+ "string": "0.00E-2",
292
+ "match_string": "0.0000"
293
+ },
294
+ {
295
+ "description": "[basx135] Numbers with E",
296
+ "subject": "180000001364000000000000000000000000000000363000",
297
+ "string": "0.00E-3",
298
+ "match_string": "0.00000"
299
+ },
300
+ {
301
+ "description": "[basx295] some more negative zeros [systematic tests below]",
302
+ "subject": "18000000136400000000000000000000000000000036B000",
303
+ "string": "-0.00E-3",
304
+ "match_string": "-0.00000"
305
+ },
306
+ {
307
+ "description": "[basx633] Zeros",
308
+ "subject": "180000001364000000000000000000000000000000423000",
309
+ "string": "0.00E+3",
310
+ "match_string": "0E+1"
311
+ },
312
+ {
313
+ "description": "[basx673] Zeros",
314
+ "subject": "180000001364000000000000000000000000000000363000",
315
+ "string": "0.00E-3",
316
+ "match_string": "0.00000"
317
+ },
318
+ {
319
+ "description": "[basx136] Numbers with E",
320
+ "subject": "180000001364000000000000000000000000000000343000",
321
+ "string": "0.00E-4",
322
+ "match_string": "0.000000"
323
+ },
324
+ {
325
+ "description": "[basx674] Zeros",
326
+ "subject": "180000001364000000000000000000000000000000343000",
327
+ "string": "0.00E-4",
328
+ "match_string": "0.000000"
329
+ },
330
+ {
331
+ "description": "[basx634] Zeros",
332
+ "subject": "180000001364000000000000000000000000000000443000",
333
+ "string": "0.00E+4",
334
+ "match_string": "0E+2"
335
+ },
336
+ {
337
+ "description": "[basx137] Numbers with E",
338
+ "subject": "180000001364000000000000000000000000000000323000",
339
+ "string": "0.00E-5",
340
+ "match_string": "0E-7"
341
+ },
342
+ {
343
+ "description": "[basx635] Zeros",
344
+ "subject": "180000001364000000000000000000000000000000463000",
345
+ "string": "0.00E+5",
346
+ "match_string": "0E+3"
347
+ },
348
+ {
349
+ "description": "[basx675] Zeros",
350
+ "subject": "180000001364000000000000000000000000000000323000",
351
+ "string": "0.00E-5",
352
+ "match_string": "0E-7"
353
+ },
354
+ {
355
+ "description": "[basx636] Zeros",
356
+ "subject": "180000001364000000000000000000000000000000483000",
357
+ "string": "0.00E+6",
358
+ "match_string": "0E+4"
359
+ },
360
+ {
361
+ "description": "[basx676] Zeros",
362
+ "subject": "180000001364000000000000000000000000000000303000",
363
+ "string": "0.00E-6",
364
+ "match_string": "0E-8"
365
+ },
366
+ {
367
+ "description": "[basx637] Zeros",
368
+ "subject": "1800000013640000000000000000000000000000004A3000",
369
+ "string": "0.00E+7",
370
+ "match_string": "0E+5"
371
+ },
372
+ {
373
+ "description": "[basx677] Zeros",
374
+ "subject": "1800000013640000000000000000000000000000002E3000",
375
+ "string": "0.00E-7",
376
+ "match_string": "0E-9"
377
+ },
378
+ {
379
+ "description": "[basx638] Zeros",
380
+ "subject": "1800000013640000000000000000000000000000004C3000",
381
+ "string": "0.00E+8",
382
+ "match_string": "0E+6"
383
+ },
384
+ {
385
+ "description": "[basx678] Zeros",
386
+ "subject": "1800000013640000000000000000000000000000002C3000",
387
+ "string": "0.00E-8",
388
+ "match_string": "0E-10"
389
+ },
390
+ {
391
+ "description": "[basx149] Numbers with E",
392
+ "subject": "180000001364000000000000000000000000000000523000",
393
+ "string": "000E+9",
394
+ "match_string": "0E+9"
395
+ },
396
+ {
397
+ "description": "[basx639] Zeros",
398
+ "subject": "1800000013640000000000000000000000000000004E3000",
399
+ "string": "0.00E+9",
400
+ "match_string": "0E+7"
401
+ },
402
+ {
403
+ "description": "[basx679] Zeros",
404
+ "subject": "1800000013640000000000000000000000000000002A3000",
405
+ "string": "0.00E-9",
406
+ "match_string": "0E-11"
407
+ },
408
+ {
409
+ "description": "[basx063] strings without E cannot generate E in result",
410
+ "subject": "18000000136400185C0ACE00000000000000000000383000",
411
+ "string": "+00345678.5432",
412
+ "match_string": "345678.5432"
413
+ },
414
+ {
415
+ "description": "[basx018] conform to rules and exponent will be in permitted range).",
416
+ "subject": "1800000013640000000000000000000000000000003EB000",
417
+ "string": "-0.0"
418
+ },
419
+ {
420
+ "description": "[basx609] Zeros",
421
+ "subject": "1800000013640000000000000000000000000000003E3000",
422
+ "string": "0.0"
423
+ },
424
+ {
425
+ "description": "[basx614] Zeros",
426
+ "subject": "1800000013640000000000000000000000000000003EB000",
427
+ "string": "-0.0"
428
+ },
429
+ {
430
+ "description": "[basx684] Zeros",
431
+ "subject": "180000001364000000000000000000000000000000403000",
432
+ "string": "00.",
433
+ "match_string": "0"
434
+ },
435
+ {
436
+ "description": "[basx640] Zeros",
437
+ "subject": "1800000013640000000000000000000000000000003E3000",
438
+ "string": "0.0E+0",
439
+ "match_string": "0.0"
440
+ },
441
+ {
442
+ "description": "[basx660] Zeros",
443
+ "subject": "1800000013640000000000000000000000000000003E3000",
444
+ "string": "0.0E-0",
445
+ "match_string": "0.0"
446
+ },
447
+ {
448
+ "description": "[basx641] Zeros",
449
+ "subject": "180000001364000000000000000000000000000000403000",
450
+ "string": "0.0E+1",
451
+ "match_string": "0"
452
+ },
453
+ {
454
+ "description": "[basx661] Zeros",
455
+ "subject": "1800000013640000000000000000000000000000003C3000",
456
+ "string": "0.0E-1",
457
+ "match_string": "0.00"
458
+ },
459
+ {
460
+ "description": "[basx296] some more negative zeros [systematic tests below]",
461
+ "subject": "1800000013640000000000000000000000000000003AB000",
462
+ "string": "-0.0E-2",
463
+ "match_string": "-0.000"
464
+ },
465
+ {
466
+ "description": "[basx642] Zeros",
467
+ "subject": "180000001364000000000000000000000000000000423000",
468
+ "string": "0.0E+2",
469
+ "match_string": "0E+1"
470
+ },
471
+ {
472
+ "description": "[basx662] Zeros",
473
+ "subject": "1800000013640000000000000000000000000000003A3000",
474
+ "string": "0.0E-2",
475
+ "match_string": "0.000"
476
+ },
477
+ {
478
+ "description": "[basx297] some more negative zeros [systematic tests below]",
479
+ "subject": "18000000136400000000000000000000000000000038B000",
480
+ "string": "-0.0E-3",
481
+ "match_string": "-0.0000"
482
+ },
483
+ {
484
+ "description": "[basx643] Zeros",
485
+ "subject": "180000001364000000000000000000000000000000443000",
486
+ "string": "0.0E+3",
487
+ "match_string": "0E+2"
488
+ },
489
+ {
490
+ "description": "[basx663] Zeros",
491
+ "subject": "180000001364000000000000000000000000000000383000",
492
+ "string": "0.0E-3",
493
+ "match_string": "0.0000"
494
+ },
495
+ {
496
+ "description": "[basx644] Zeros",
497
+ "subject": "180000001364000000000000000000000000000000463000",
498
+ "string": "0.0E+4",
499
+ "match_string": "0E+3"
500
+ },
501
+ {
502
+ "description": "[basx664] Zeros",
503
+ "subject": "180000001364000000000000000000000000000000363000",
504
+ "string": "0.0E-4",
505
+ "match_string": "0.00000"
506
+ },
507
+ {
508
+ "description": "[basx645] Zeros",
509
+ "subject": "180000001364000000000000000000000000000000483000",
510
+ "string": "0.0E+5",
511
+ "match_string": "0E+4"
512
+ },
513
+ {
514
+ "description": "[basx665] Zeros",
515
+ "subject": "180000001364000000000000000000000000000000343000",
516
+ "string": "0.0E-5",
517
+ "match_string": "0.000000"
518
+ },
519
+ {
520
+ "description": "[basx646] Zeros",
521
+ "subject": "1800000013640000000000000000000000000000004A3000",
522
+ "string": "0.0E+6",
523
+ "match_string": "0E+5"
524
+ },
525
+ {
526
+ "description": "[basx666] Zeros",
527
+ "subject": "180000001364000000000000000000000000000000323000",
528
+ "string": "0.0E-6",
529
+ "match_string": "0E-7"
530
+ },
531
+ {
532
+ "description": "[basx647] Zeros",
533
+ "subject": "1800000013640000000000000000000000000000004C3000",
534
+ "string": "0.0E+7",
535
+ "match_string": "0E+6"
536
+ },
537
+ {
538
+ "description": "[basx667] Zeros",
539
+ "subject": "180000001364000000000000000000000000000000303000",
540
+ "string": "0.0E-7",
541
+ "match_string": "0E-8"
542
+ },
543
+ {
544
+ "description": "[basx648] Zeros",
545
+ "subject": "1800000013640000000000000000000000000000004E3000",
546
+ "string": "0.0E+8",
547
+ "match_string": "0E+7"
548
+ },
549
+ {
550
+ "description": "[basx668] Zeros",
551
+ "subject": "1800000013640000000000000000000000000000002E3000",
552
+ "string": "0.0E-8",
553
+ "match_string": "0E-9"
554
+ },
555
+ {
556
+ "description": "[basx160] Numbers with E",
557
+ "subject": "180000001364000000000000000000000000000000523000",
558
+ "string": "00E+9",
559
+ "match_string": "0E+9"
560
+ },
561
+ {
562
+ "description": "[basx161] Numbers with E",
563
+ "subject": "1800000013640000000000000000000000000000002E3000",
564
+ "string": "00E-9",
565
+ "match_string": "0E-9"
566
+ },
567
+ {
568
+ "description": "[basx649] Zeros",
569
+ "subject": "180000001364000000000000000000000000000000503000",
570
+ "string": "0.0E+9",
571
+ "match_string": "0E+8"
572
+ },
573
+ {
574
+ "description": "[basx669] Zeros",
575
+ "subject": "1800000013640000000000000000000000000000002C3000",
576
+ "string": "0.0E-9",
577
+ "match_string": "0E-10"
578
+ },
579
+ {
580
+ "description": "[basx062] strings without E cannot generate E in result",
581
+ "subject": "18000000136400185C0ACE00000000000000000000383000",
582
+ "string": "+0345678.5432",
583
+ "match_string": "345678.5432"
584
+ },
585
+ {
586
+ "description": "[basx001] conform to rules and exponent will be in permitted range).",
587
+ "subject": "180000001364000000000000000000000000000000403000",
588
+ "string": "0"
589
+ },
590
+ {
591
+ "description": "[basx017] conform to rules and exponent will be in permitted range).",
592
+ "subject": "18000000136400000000000000000000000000000040B000",
593
+ "string": "-0"
594
+ },
595
+ {
596
+ "description": "[basx611] Zeros",
597
+ "subject": "180000001364000000000000000000000000000000403000",
598
+ "string": "0.",
599
+ "match_string": "0"
600
+ },
601
+ {
602
+ "description": "[basx613] Zeros",
603
+ "subject": "18000000136400000000000000000000000000000040B000",
604
+ "string": "-0.",
605
+ "match_string": "-0"
606
+ },
607
+ {
608
+ "description": "[basx685] Zeros",
609
+ "subject": "180000001364000000000000000000000000000000403000",
610
+ "string": "0.",
611
+ "match_string": "0"
612
+ },
613
+ {
614
+ "description": "[basx688] Zeros",
615
+ "subject": "180000001364000000000000000000000000000000403000",
616
+ "string": "+0.",
617
+ "match_string": "0"
618
+ },
619
+ {
620
+ "description": "[basx689] Zeros",
621
+ "subject": "18000000136400000000000000000000000000000040B000",
622
+ "string": "-0.",
623
+ "match_string": "-0"
624
+ },
625
+ {
626
+ "description": "[basx650] Zeros",
627
+ "subject": "180000001364000000000000000000000000000000403000",
628
+ "string": "0E+0",
629
+ "match_string": "0"
630
+ },
631
+ {
632
+ "description": "[basx651] Zeros",
633
+ "subject": "180000001364000000000000000000000000000000423000",
634
+ "string": "0E+1"
635
+ },
636
+ {
637
+ "description": "[basx298] some more negative zeros [systematic tests below]",
638
+ "subject": "1800000013640000000000000000000000000000003CB000",
639
+ "string": "-0E-2",
640
+ "match_string": "-0.00"
641
+ },
642
+ {
643
+ "description": "[basx652] Zeros",
644
+ "subject": "180000001364000000000000000000000000000000443000",
645
+ "string": "0E+2"
646
+ },
647
+ {
648
+ "description": "[basx299] some more negative zeros [systematic tests below]",
649
+ "subject": "1800000013640000000000000000000000000000003AB000",
650
+ "string": "-0E-3",
651
+ "match_string": "-0.000"
652
+ },
653
+ {
654
+ "description": "[basx653] Zeros",
655
+ "subject": "180000001364000000000000000000000000000000463000",
656
+ "string": "0E+3"
657
+ },
658
+ {
659
+ "description": "[basx654] Zeros",
660
+ "subject": "180000001364000000000000000000000000000000483000",
661
+ "string": "0E+4"
662
+ },
663
+ {
664
+ "description": "[basx655] Zeros",
665
+ "subject": "1800000013640000000000000000000000000000004A3000",
666
+ "string": "0E+5"
667
+ },
668
+ {
669
+ "description": "[basx656] Zeros",
670
+ "subject": "1800000013640000000000000000000000000000004C3000",
671
+ "string": "0E+6"
672
+ },
673
+ {
674
+ "description": "[basx657] Zeros",
675
+ "subject": "1800000013640000000000000000000000000000004E3000",
676
+ "string": "0E+7"
677
+ },
678
+ {
679
+ "description": "[basx658] Zeros",
680
+ "subject": "180000001364000000000000000000000000000000503000",
681
+ "string": "0E+8"
682
+ },
683
+ {
684
+ "description": "[basx138] Numbers with E",
685
+ "subject": "180000001364000000000000000000000000000000523000",
686
+ "string": "+0E+9",
687
+ "match_string": "0E+9"
688
+ },
689
+ {
690
+ "description": "[basx139] Numbers with E",
691
+ "subject": "18000000136400000000000000000000000000000052B000",
692
+ "string": "-0E+9"
693
+ },
694
+ {
695
+ "description": "[basx144] Numbers with E",
696
+ "subject": "180000001364000000000000000000000000000000523000",
697
+ "string": "0E+9"
698
+ },
699
+ {
700
+ "description": "[basx154] Numbers with E",
701
+ "subject": "180000001364000000000000000000000000000000523000",
702
+ "string": "0E9",
703
+ "match_string": "0E+9"
704
+ },
705
+ {
706
+ "description": "[basx659] Zeros",
707
+ "subject": "180000001364000000000000000000000000000000523000",
708
+ "string": "0E+9"
709
+ },
710
+ {
711
+ "description": "[basx042] strings without E cannot generate E in result",
712
+ "subject": "18000000136400FC040000000000000000000000003C3000",
713
+ "string": "+12.76",
714
+ "match_string": "12.76"
715
+ },
716
+ {
717
+ "description": "[basx143] Numbers with E",
718
+ "subject": "180000001364000100000000000000000000000000523000",
719
+ "string": "+1E+009",
720
+ "match_string": "1E+9"
721
+ },
722
+ {
723
+ "description": "[basx061] strings without E cannot generate E in result",
724
+ "subject": "18000000136400185C0ACE00000000000000000000383000",
725
+ "string": "+345678.5432",
726
+ "match_string": "345678.5432"
727
+ },
728
+ {
729
+ "description": "[basx036] conform to rules and exponent will be in permitted range).",
730
+ "subject": "1800000013640015CD5B0700000000000000000000203000",
731
+ "string": "0.0000000123456789",
732
+ "match_string": "1.23456789E-8"
733
+ },
734
+ {
735
+ "description": "[basx035] conform to rules and exponent will be in permitted range).",
736
+ "subject": "1800000013640015CD5B0700000000000000000000223000",
737
+ "string": "0.000000123456789",
738
+ "match_string": "1.23456789E-7"
739
+ },
740
+ {
741
+ "description": "[basx034] conform to rules and exponent will be in permitted range).",
742
+ "subject": "1800000013640015CD5B0700000000000000000000243000",
743
+ "string": "0.00000123456789"
744
+ },
745
+ {
746
+ "description": "[basx053] strings without E cannot generate E in result",
747
+ "subject": "180000001364003200000000000000000000000000323000",
748
+ "string": "0.0000050"
749
+ },
750
+ {
751
+ "description": "[basx033] conform to rules and exponent will be in permitted range).",
752
+ "subject": "1800000013640015CD5B0700000000000000000000263000",
753
+ "string": "0.0000123456789"
754
+ },
755
+ {
756
+ "description": "[basx016] conform to rules and exponent will be in permitted range).",
757
+ "subject": "180000001364000C000000000000000000000000003A3000",
758
+ "string": "0.012"
759
+ },
760
+ {
761
+ "description": "[basx015] conform to rules and exponent will be in permitted range).",
762
+ "subject": "180000001364007B000000000000000000000000003A3000",
763
+ "string": "0.123"
764
+ },
765
+ {
766
+ "description": "[basx037] conform to rules and exponent will be in permitted range).",
767
+ "subject": "1800000013640078DF0D8648700000000000000000223000",
768
+ "string": "0.123456789012344"
769
+ },
770
+ {
771
+ "description": "[basx038] conform to rules and exponent will be in permitted range).",
772
+ "subject": "1800000013640079DF0D8648700000000000000000223000",
773
+ "string": "0.123456789012345"
774
+ },
775
+ {
776
+ "description": "[basx250] Numbers with E",
777
+ "subject": "18000000136400F104000000000000000000000000383000",
778
+ "string": "0.1265"
779
+ },
780
+ {
781
+ "description": "[basx257] Numbers with E",
782
+ "subject": "18000000136400F104000000000000000000000000383000",
783
+ "string": "0.1265E-0",
784
+ "match_string": "0.1265"
785
+ },
786
+ {
787
+ "description": "[basx256] Numbers with E",
788
+ "subject": "18000000136400F104000000000000000000000000363000",
789
+ "string": "0.1265E-1",
790
+ "match_string": "0.01265"
791
+ },
792
+ {
793
+ "description": "[basx258] Numbers with E",
794
+ "subject": "18000000136400F1040000000000000000000000003A3000",
795
+ "string": "0.1265E+1",
796
+ "match_string": "1.265"
797
+ },
798
+ {
799
+ "description": "[basx251] Numbers with E",
800
+ "subject": "18000000136400F104000000000000000000000000103000",
801
+ "string": "0.1265E-20",
802
+ "match_string": "1.265E-21"
803
+ },
804
+ {
805
+ "description": "[basx263] Numbers with E",
806
+ "subject": "18000000136400F104000000000000000000000000603000",
807
+ "string": "0.1265E+20",
808
+ "match_string": "1.265E+19"
809
+ },
810
+ {
811
+ "description": "[basx255] Numbers with E",
812
+ "subject": "18000000136400F104000000000000000000000000343000",
813
+ "string": "0.1265E-2",
814
+ "match_string": "0.001265"
815
+ },
816
+ {
817
+ "description": "[basx259] Numbers with E",
818
+ "subject": "18000000136400F1040000000000000000000000003C3000",
819
+ "string": "0.1265E+2",
820
+ "match_string": "12.65"
821
+ },
822
+ {
823
+ "description": "[basx254] Numbers with E",
824
+ "subject": "18000000136400F104000000000000000000000000323000",
825
+ "string": "0.1265E-3",
826
+ "match_string": "0.0001265"
827
+ },
828
+ {
829
+ "description": "[basx260] Numbers with E",
830
+ "subject": "18000000136400F1040000000000000000000000003E3000",
831
+ "string": "0.1265E+3",
832
+ "match_string": "126.5"
833
+ },
834
+ {
835
+ "description": "[basx253] Numbers with E",
836
+ "subject": "18000000136400F104000000000000000000000000303000",
837
+ "string": "0.1265E-4",
838
+ "match_string": "0.00001265"
839
+ },
840
+ {
841
+ "description": "[basx261] Numbers with E",
842
+ "subject": "18000000136400F104000000000000000000000000403000",
843
+ "string": "0.1265E+4",
844
+ "match_string": "1265"
845
+ },
846
+ {
847
+ "description": "[basx252] Numbers with E",
848
+ "subject": "18000000136400F104000000000000000000000000283000",
849
+ "string": "0.1265E-8",
850
+ "match_string": "1.265E-9"
851
+ },
852
+ {
853
+ "description": "[basx262] Numbers with E",
854
+ "subject": "18000000136400F104000000000000000000000000483000",
855
+ "string": "0.1265E+8",
856
+ "match_string": "1.265E+7"
857
+ },
858
+ {
859
+ "description": "[basx159] Numbers with E",
860
+ "subject": "1800000013640049000000000000000000000000002E3000",
861
+ "string": "0.73e-7",
862
+ "match_string": "7.3E-8"
863
+ },
864
+ {
865
+ "description": "[basx004] conform to rules and exponent will be in permitted range).",
866
+ "subject": "1800000013640064000000000000000000000000003C3000",
867
+ "string": "1.00"
868
+ },
869
+ {
870
+ "description": "[basx003] conform to rules and exponent will be in permitted range).",
871
+ "subject": "180000001364000A000000000000000000000000003E3000",
872
+ "string": "1.0"
873
+ },
874
+ {
875
+ "description": "[basx002] conform to rules and exponent will be in permitted range).",
876
+ "subject": "180000001364000100000000000000000000000000403000",
877
+ "string": "1"
878
+ },
879
+ {
880
+ "description": "[basx148] Numbers with E",
881
+ "subject": "180000001364000100000000000000000000000000523000",
882
+ "string": "1E+009",
883
+ "match_string": "1E+9"
884
+ },
885
+ {
886
+ "description": "[basx153] Numbers with E",
887
+ "subject": "180000001364000100000000000000000000000000523000",
888
+ "string": "1E009",
889
+ "match_string": "1E+9"
890
+ },
891
+ {
892
+ "description": "[basx141] Numbers with E",
893
+ "subject": "180000001364000100000000000000000000000000523000",
894
+ "string": "1e+09",
895
+ "match_string": "1E+9"
896
+ },
897
+ {
898
+ "description": "[basx146] Numbers with E",
899
+ "subject": "180000001364000100000000000000000000000000523000",
900
+ "string": "1E+09",
901
+ "match_string": "1E+9"
902
+ },
903
+ {
904
+ "description": "[basx151] Numbers with E",
905
+ "subject": "180000001364000100000000000000000000000000523000",
906
+ "string": "1e09",
907
+ "match_string": "1E+9"
908
+ },
909
+ {
910
+ "description": "[basx142] Numbers with E",
911
+ "subject": "180000001364000100000000000000000000000000F43000",
912
+ "string": "1E+90"
913
+ },
914
+ {
915
+ "description": "[basx147] Numbers with E",
916
+ "subject": "180000001364000100000000000000000000000000F43000",
917
+ "string": "1e+90",
918
+ "match_string": "1E+90"
919
+ },
920
+ {
921
+ "description": "[basx152] Numbers with E",
922
+ "subject": "180000001364000100000000000000000000000000F43000",
923
+ "string": "1E90",
924
+ "match_string": "1E+90"
925
+ },
926
+ {
927
+ "description": "[basx140] Numbers with E",
928
+ "subject": "180000001364000100000000000000000000000000523000",
929
+ "string": "1E+9"
930
+ },
931
+ {
932
+ "description": "[basx150] Numbers with E",
933
+ "subject": "180000001364000100000000000000000000000000523000",
934
+ "string": "1E9",
935
+ "match_string": "1E+9"
936
+ },
937
+ {
938
+ "description": "[basx014] conform to rules and exponent will be in permitted range).",
939
+ "subject": "18000000136400D2040000000000000000000000003A3000",
940
+ "string": "1.234"
941
+ },
942
+ {
943
+ "description": "[basx170] Numbers with E",
944
+ "subject": "18000000136400F1040000000000000000000000003A3000",
945
+ "string": "1.265"
946
+ },
947
+ {
948
+ "description": "[basx177] Numbers with E",
949
+ "subject": "18000000136400F1040000000000000000000000003A3000",
950
+ "string": "1.265E-0",
951
+ "match_string": "1.265"
952
+ },
953
+ {
954
+ "description": "[basx176] Numbers with E",
955
+ "subject": "18000000136400F104000000000000000000000000383000",
956
+ "string": "1.265E-1",
957
+ "match_string": "0.1265"
958
+ },
959
+ {
960
+ "description": "[basx178] Numbers with E",
961
+ "subject": "18000000136400F1040000000000000000000000003C3000",
962
+ "string": "1.265E+1",
963
+ "match_string": "12.65"
964
+ },
965
+ {
966
+ "description": "[basx171] Numbers with E",
967
+ "subject": "18000000136400F104000000000000000000000000123000",
968
+ "string": "1.265E-20"
969
+ },
970
+ {
971
+ "description": "[basx183] Numbers with E",
972
+ "subject": "18000000136400F104000000000000000000000000623000",
973
+ "string": "1.265E+20"
974
+ },
975
+ {
976
+ "description": "[basx175] Numbers with E",
977
+ "subject": "18000000136400F104000000000000000000000000363000",
978
+ "string": "1.265E-2",
979
+ "match_string": "0.01265"
980
+ },
981
+ {
982
+ "description": "[basx179] Numbers with E",
983
+ "subject": "18000000136400F1040000000000000000000000003E3000",
984
+ "string": "1.265E+2",
985
+ "match_string": "126.5"
986
+ },
987
+ {
988
+ "description": "[basx174] Numbers with E",
989
+ "subject": "18000000136400F104000000000000000000000000343000",
990
+ "string": "1.265E-3",
991
+ "match_string": "0.001265"
992
+ },
993
+ {
994
+ "description": "[basx180] Numbers with E",
995
+ "subject": "18000000136400F104000000000000000000000000403000",
996
+ "string": "1.265E+3",
997
+ "match_string": "1265"
998
+ },
999
+ {
1000
+ "description": "[basx173] Numbers with E",
1001
+ "subject": "18000000136400F104000000000000000000000000323000",
1002
+ "string": "1.265E-4",
1003
+ "match_string": "0.0001265"
1004
+ },
1005
+ {
1006
+ "description": "[basx181] Numbers with E",
1007
+ "subject": "18000000136400F104000000000000000000000000423000",
1008
+ "string": "1.265E+4"
1009
+ },
1010
+ {
1011
+ "description": "[basx172] Numbers with E",
1012
+ "subject": "18000000136400F1040000000000000000000000002A3000",
1013
+ "string": "1.265E-8"
1014
+ },
1015
+ {
1016
+ "description": "[basx182] Numbers with E",
1017
+ "subject": "18000000136400F1040000000000000000000000004A3000",
1018
+ "string": "1.265E+8"
1019
+ },
1020
+ {
1021
+ "description": "[basx157] Numbers with E",
1022
+ "subject": "180000001364000400000000000000000000000000523000",
1023
+ "string": "4E+9"
1024
+ },
1025
+ {
1026
+ "description": "[basx067] examples",
1027
+ "subject": "180000001364000500000000000000000000000000343000",
1028
+ "string": "5E-6",
1029
+ "match_string": "0.000005"
1030
+ },
1031
+ {
1032
+ "description": "[basx069] examples",
1033
+ "subject": "180000001364000500000000000000000000000000323000",
1034
+ "string": "5E-7"
1035
+ },
1036
+ {
1037
+ "description": "[basx385] Engineering notation tests",
1038
+ "subject": "180000001364000700000000000000000000000000403000",
1039
+ "string": "7E0",
1040
+ "match_string": "7"
1041
+ },
1042
+ {
1043
+ "description": "[basx365] Engineering notation tests",
1044
+ "subject": "180000001364000700000000000000000000000000543000",
1045
+ "string": "7E10",
1046
+ "match_string": "7E+10"
1047
+ },
1048
+ {
1049
+ "description": "[basx405] Engineering notation tests",
1050
+ "subject": "1800000013640007000000000000000000000000002C3000",
1051
+ "string": "7E-10"
1052
+ },
1053
+ {
1054
+ "description": "[basx363] Engineering notation tests",
1055
+ "subject": "180000001364000700000000000000000000000000563000",
1056
+ "string": "7E11",
1057
+ "match_string": "7E+11"
1058
+ },
1059
+ {
1060
+ "description": "[basx407] Engineering notation tests",
1061
+ "subject": "1800000013640007000000000000000000000000002A3000",
1062
+ "string": "7E-11"
1063
+ },
1064
+ {
1065
+ "description": "[basx361] Engineering notation tests",
1066
+ "subject": "180000001364000700000000000000000000000000583000",
1067
+ "string": "7E12",
1068
+ "match_string": "7E+12"
1069
+ },
1070
+ {
1071
+ "description": "[basx409] Engineering notation tests",
1072
+ "subject": "180000001364000700000000000000000000000000283000",
1073
+ "string": "7E-12"
1074
+ },
1075
+ {
1076
+ "description": "[basx411] Engineering notation tests",
1077
+ "subject": "180000001364000700000000000000000000000000263000",
1078
+ "string": "7E-13"
1079
+ },
1080
+ {
1081
+ "description": "[basx383] Engineering notation tests",
1082
+ "subject": "180000001364000700000000000000000000000000423000",
1083
+ "string": "7E1",
1084
+ "match_string": "7E+1"
1085
+ },
1086
+ {
1087
+ "description": "[basx387] Engineering notation tests",
1088
+ "subject": "1800000013640007000000000000000000000000003E3000",
1089
+ "string": "7E-1",
1090
+ "match_string": "0.7"
1091
+ },
1092
+ {
1093
+ "description": "[basx381] Engineering notation tests",
1094
+ "subject": "180000001364000700000000000000000000000000443000",
1095
+ "string": "7E2",
1096
+ "match_string": "7E+2"
1097
+ },
1098
+ {
1099
+ "description": "[basx389] Engineering notation tests",
1100
+ "subject": "1800000013640007000000000000000000000000003C3000",
1101
+ "string": "7E-2",
1102
+ "match_string": "0.07"
1103
+ },
1104
+ {
1105
+ "description": "[basx379] Engineering notation tests",
1106
+ "subject": "180000001364000700000000000000000000000000463000",
1107
+ "string": "7E3",
1108
+ "match_string": "7E+3"
1109
+ },
1110
+ {
1111
+ "description": "[basx391] Engineering notation tests",
1112
+ "subject": "1800000013640007000000000000000000000000003A3000",
1113
+ "string": "7E-3",
1114
+ "match_string": "0.007"
1115
+ },
1116
+ {
1117
+ "description": "[basx377] Engineering notation tests",
1118
+ "subject": "180000001364000700000000000000000000000000483000",
1119
+ "string": "7E4",
1120
+ "match_string": "7E+4"
1121
+ },
1122
+ {
1123
+ "description": "[basx393] Engineering notation tests",
1124
+ "subject": "180000001364000700000000000000000000000000383000",
1125
+ "string": "7E-4",
1126
+ "match_string": "0.0007"
1127
+ },
1128
+ {
1129
+ "description": "[basx375] Engineering notation tests",
1130
+ "subject": "1800000013640007000000000000000000000000004A3000",
1131
+ "string": "7E5",
1132
+ "match_string": "7E+5"
1133
+ },
1134
+ {
1135
+ "description": "[basx395] Engineering notation tests",
1136
+ "subject": "180000001364000700000000000000000000000000363000",
1137
+ "string": "7E-5",
1138
+ "match_string": "0.00007"
1139
+ },
1140
+ {
1141
+ "description": "[basx373] Engineering notation tests",
1142
+ "subject": "1800000013640007000000000000000000000000004C3000",
1143
+ "string": "7E6",
1144
+ "match_string": "7E+6"
1145
+ },
1146
+ {
1147
+ "description": "[basx397] Engineering notation tests",
1148
+ "subject": "180000001364000700000000000000000000000000343000",
1149
+ "string": "7E-6",
1150
+ "match_string": "0.000007"
1151
+ },
1152
+ {
1153
+ "description": "[basx371] Engineering notation tests",
1154
+ "subject": "1800000013640007000000000000000000000000004E3000",
1155
+ "string": "7E7",
1156
+ "match_string": "7E+7"
1157
+ },
1158
+ {
1159
+ "description": "[basx399] Engineering notation tests",
1160
+ "subject": "180000001364000700000000000000000000000000323000",
1161
+ "string": "7E-7"
1162
+ },
1163
+ {
1164
+ "description": "[basx369] Engineering notation tests",
1165
+ "subject": "180000001364000700000000000000000000000000503000",
1166
+ "string": "7E8",
1167
+ "match_string": "7E+8"
1168
+ },
1169
+ {
1170
+ "description": "[basx401] Engineering notation tests",
1171
+ "subject": "180000001364000700000000000000000000000000303000",
1172
+ "string": "7E-8"
1173
+ },
1174
+ {
1175
+ "description": "[basx367] Engineering notation tests",
1176
+ "subject": "180000001364000700000000000000000000000000523000",
1177
+ "string": "7E9",
1178
+ "match_string": "7E+9"
1179
+ },
1180
+ {
1181
+ "description": "[basx403] Engineering notation tests",
1182
+ "subject": "1800000013640007000000000000000000000000002E3000",
1183
+ "string": "7E-9"
1184
+ },
1185
+ {
1186
+ "description": "[basx007] conform to rules and exponent will be in permitted range).",
1187
+ "subject": "1800000013640064000000000000000000000000003E3000",
1188
+ "string": "10.0"
1189
+ },
1190
+ {
1191
+ "description": "[basx005] conform to rules and exponent will be in permitted range).",
1192
+ "subject": "180000001364000A00000000000000000000000000403000",
1193
+ "string": "10"
1194
+ },
1195
+ {
1196
+ "description": "[basx165] Numbers with E",
1197
+ "subject": "180000001364000A00000000000000000000000000523000",
1198
+ "string": "10E+009",
1199
+ "match_string": "1.0E+10"
1200
+ },
1201
+ {
1202
+ "description": "[basx163] Numbers with E",
1203
+ "subject": "180000001364000A00000000000000000000000000523000",
1204
+ "string": "10E+09",
1205
+ "match_string": "1.0E+10"
1206
+ },
1207
+ {
1208
+ "description": "[basx325] Engineering notation tests",
1209
+ "subject": "180000001364000A00000000000000000000000000403000",
1210
+ "string": "10e0",
1211
+ "match_string": "10"
1212
+ },
1213
+ {
1214
+ "description": "[basx305] Engineering notation tests",
1215
+ "subject": "180000001364000A00000000000000000000000000543000",
1216
+ "string": "10e10",
1217
+ "match_string": "1.0E+11"
1218
+ },
1219
+ {
1220
+ "description": "[basx345] Engineering notation tests",
1221
+ "subject": "180000001364000A000000000000000000000000002C3000",
1222
+ "string": "10e-10",
1223
+ "match_string": "1.0E-9"
1224
+ },
1225
+ {
1226
+ "description": "[basx303] Engineering notation tests",
1227
+ "subject": "180000001364000A00000000000000000000000000563000",
1228
+ "string": "10e11",
1229
+ "match_string": "1.0E+12"
1230
+ },
1231
+ {
1232
+ "description": "[basx347] Engineering notation tests",
1233
+ "subject": "180000001364000A000000000000000000000000002A3000",
1234
+ "string": "10e-11",
1235
+ "match_string": "1.0E-10"
1236
+ },
1237
+ {
1238
+ "description": "[basx301] Engineering notation tests",
1239
+ "subject": "180000001364000A00000000000000000000000000583000",
1240
+ "string": "10e12",
1241
+ "match_string": "1.0E+13"
1242
+ },
1243
+ {
1244
+ "description": "[basx349] Engineering notation tests",
1245
+ "subject": "180000001364000A00000000000000000000000000283000",
1246
+ "string": "10e-12",
1247
+ "match_string": "1.0E-11"
1248
+ },
1249
+ {
1250
+ "description": "[basx351] Engineering notation tests",
1251
+ "subject": "180000001364000A00000000000000000000000000263000",
1252
+ "string": "10e-13",
1253
+ "match_string": "1.0E-12"
1254
+ },
1255
+ {
1256
+ "description": "[basx323] Engineering notation tests",
1257
+ "subject": "180000001364000A00000000000000000000000000423000",
1258
+ "string": "10e1",
1259
+ "match_string": "1.0E+2"
1260
+ },
1261
+ {
1262
+ "description": "[basx327] Engineering notation tests",
1263
+ "subject": "180000001364000A000000000000000000000000003E3000",
1264
+ "string": "10e-1",
1265
+ "match_string": "1.0"
1266
+ },
1267
+ {
1268
+ "description": "[basx321] Engineering notation tests",
1269
+ "subject": "180000001364000A00000000000000000000000000443000",
1270
+ "string": "10e2",
1271
+ "match_string": "1.0E+3"
1272
+ },
1273
+ {
1274
+ "description": "[basx329] Engineering notation tests",
1275
+ "subject": "180000001364000A000000000000000000000000003C3000",
1276
+ "string": "10e-2",
1277
+ "match_string": "0.10"
1278
+ },
1279
+ {
1280
+ "description": "[basx319] Engineering notation tests",
1281
+ "subject": "180000001364000A00000000000000000000000000463000",
1282
+ "string": "10e3",
1283
+ "match_string": "1.0E+4"
1284
+ },
1285
+ {
1286
+ "description": "[basx331] Engineering notation tests",
1287
+ "subject": "180000001364000A000000000000000000000000003A3000",
1288
+ "string": "10e-3",
1289
+ "match_string": "0.010"
1290
+ },
1291
+ {
1292
+ "description": "[basx317] Engineering notation tests",
1293
+ "subject": "180000001364000A00000000000000000000000000483000",
1294
+ "string": "10e4",
1295
+ "match_string": "1.0E+5"
1296
+ },
1297
+ {
1298
+ "description": "[basx333] Engineering notation tests",
1299
+ "subject": "180000001364000A00000000000000000000000000383000",
1300
+ "string": "10e-4",
1301
+ "match_string": "0.0010"
1302
+ },
1303
+ {
1304
+ "description": "[basx315] Engineering notation tests",
1305
+ "subject": "180000001364000A000000000000000000000000004A3000",
1306
+ "string": "10e5",
1307
+ "match_string": "1.0E+6"
1308
+ },
1309
+ {
1310
+ "description": "[basx335] Engineering notation tests",
1311
+ "subject": "180000001364000A00000000000000000000000000363000",
1312
+ "string": "10e-5",
1313
+ "match_string": "0.00010"
1314
+ },
1315
+ {
1316
+ "description": "[basx313] Engineering notation tests",
1317
+ "subject": "180000001364000A000000000000000000000000004C3000",
1318
+ "string": "10e6",
1319
+ "match_string": "1.0E+7"
1320
+ },
1321
+ {
1322
+ "description": "[basx337] Engineering notation tests",
1323
+ "subject": "180000001364000A00000000000000000000000000343000",
1324
+ "string": "10e-6",
1325
+ "match_string": "0.000010"
1326
+ },
1327
+ {
1328
+ "description": "[basx311] Engineering notation tests",
1329
+ "subject": "180000001364000A000000000000000000000000004E3000",
1330
+ "string": "10e7",
1331
+ "match_string": "1.0E+8"
1332
+ },
1333
+ {
1334
+ "description": "[basx339] Engineering notation tests",
1335
+ "subject": "180000001364000A00000000000000000000000000323000",
1336
+ "string": "10e-7",
1337
+ "match_string": "0.0000010"
1338
+ },
1339
+ {
1340
+ "description": "[basx309] Engineering notation tests",
1341
+ "subject": "180000001364000A00000000000000000000000000503000",
1342
+ "string": "10e8",
1343
+ "match_string": "1.0E+9"
1344
+ },
1345
+ {
1346
+ "description": "[basx341] Engineering notation tests",
1347
+ "subject": "180000001364000A00000000000000000000000000303000",
1348
+ "string": "10e-8",
1349
+ "match_string": "1.0E-7"
1350
+ },
1351
+ {
1352
+ "description": "[basx164] Numbers with E",
1353
+ "subject": "180000001364000A00000000000000000000000000F43000",
1354
+ "string": "10e+90",
1355
+ "match_string": "1.0E+91"
1356
+ },
1357
+ {
1358
+ "description": "[basx162] Numbers with E",
1359
+ "subject": "180000001364000A00000000000000000000000000523000",
1360
+ "string": "10E+9",
1361
+ "match_string": "1.0E+10"
1362
+ },
1363
+ {
1364
+ "description": "[basx307] Engineering notation tests",
1365
+ "subject": "180000001364000A00000000000000000000000000523000",
1366
+ "string": "10e9",
1367
+ "match_string": "1.0E+10"
1368
+ },
1369
+ {
1370
+ "description": "[basx343] Engineering notation tests",
1371
+ "subject": "180000001364000A000000000000000000000000002E3000",
1372
+ "string": "10e-9",
1373
+ "match_string": "1.0E-8"
1374
+ },
1375
+ {
1376
+ "description": "[basx008] conform to rules and exponent will be in permitted range).",
1377
+ "subject": "1800000013640065000000000000000000000000003E3000",
1378
+ "string": "10.1"
1379
+ },
1380
+ {
1381
+ "description": "[basx009] conform to rules and exponent will be in permitted range).",
1382
+ "subject": "1800000013640068000000000000000000000000003E3000",
1383
+ "string": "10.4"
1384
+ },
1385
+ {
1386
+ "description": "[basx010] conform to rules and exponent will be in permitted range).",
1387
+ "subject": "1800000013640069000000000000000000000000003E3000",
1388
+ "string": "10.5"
1389
+ },
1390
+ {
1391
+ "description": "[basx011] conform to rules and exponent will be in permitted range).",
1392
+ "subject": "180000001364006A000000000000000000000000003E3000",
1393
+ "string": "10.6"
1394
+ },
1395
+ {
1396
+ "description": "[basx012] conform to rules and exponent will be in permitted range).",
1397
+ "subject": "180000001364006D000000000000000000000000003E3000",
1398
+ "string": "10.9"
1399
+ },
1400
+ {
1401
+ "description": "[basx013] conform to rules and exponent will be in permitted range).",
1402
+ "subject": "180000001364006E000000000000000000000000003E3000",
1403
+ "string": "11.0"
1404
+ },
1405
+ {
1406
+ "description": "[basx040] strings without E cannot generate E in result",
1407
+ "subject": "180000001364000C00000000000000000000000000403000",
1408
+ "string": "12"
1409
+ },
1410
+ {
1411
+ "description": "[basx190] Numbers with E",
1412
+ "subject": "18000000136400F1040000000000000000000000003C3000",
1413
+ "string": "12.65"
1414
+ },
1415
+ {
1416
+ "description": "[basx197] Numbers with E",
1417
+ "subject": "18000000136400F1040000000000000000000000003C3000",
1418
+ "string": "12.65E-0",
1419
+ "match_string": "12.65"
1420
+ },
1421
+ {
1422
+ "description": "[basx196] Numbers with E",
1423
+ "subject": "18000000136400F1040000000000000000000000003A3000",
1424
+ "string": "12.65E-1",
1425
+ "match_string": "1.265"
1426
+ },
1427
+ {
1428
+ "description": "[basx198] Numbers with E",
1429
+ "subject": "18000000136400F1040000000000000000000000003E3000",
1430
+ "string": "12.65E+1",
1431
+ "match_string": "126.5"
1432
+ },
1433
+ {
1434
+ "description": "[basx191] Numbers with E",
1435
+ "subject": "18000000136400F104000000000000000000000000143000",
1436
+ "string": "12.65E-20",
1437
+ "match_string": "1.265E-19"
1438
+ },
1439
+ {
1440
+ "description": "[basx203] Numbers with E",
1441
+ "subject": "18000000136400F104000000000000000000000000643000",
1442
+ "string": "12.65E+20",
1443
+ "match_string": "1.265E+21"
1444
+ },
1445
+ {
1446
+ "description": "[basx195] Numbers with E",
1447
+ "subject": "18000000136400F104000000000000000000000000383000",
1448
+ "string": "12.65E-2",
1449
+ "match_string": "0.1265"
1450
+ },
1451
+ {
1452
+ "description": "[basx199] Numbers with E",
1453
+ "subject": "18000000136400F104000000000000000000000000403000",
1454
+ "string": "12.65E+2",
1455
+ "match_string": "1265"
1456
+ },
1457
+ {
1458
+ "description": "[basx194] Numbers with E",
1459
+ "subject": "18000000136400F104000000000000000000000000363000",
1460
+ "string": "12.65E-3",
1461
+ "match_string": "0.01265"
1462
+ },
1463
+ {
1464
+ "description": "[basx200] Numbers with E",
1465
+ "subject": "18000000136400F104000000000000000000000000423000",
1466
+ "string": "12.65E+3",
1467
+ "match_string": "1.265E+4"
1468
+ },
1469
+ {
1470
+ "description": "[basx193] Numbers with E",
1471
+ "subject": "18000000136400F104000000000000000000000000343000",
1472
+ "string": "12.65E-4",
1473
+ "match_string": "0.001265"
1474
+ },
1475
+ {
1476
+ "description": "[basx201] Numbers with E",
1477
+ "subject": "18000000136400F104000000000000000000000000443000",
1478
+ "string": "12.65E+4",
1479
+ "match_string": "1.265E+5"
1480
+ },
1481
+ {
1482
+ "description": "[basx192] Numbers with E",
1483
+ "subject": "18000000136400F1040000000000000000000000002C3000",
1484
+ "string": "12.65E-8",
1485
+ "match_string": "1.265E-7"
1486
+ },
1487
+ {
1488
+ "description": "[basx202] Numbers with E",
1489
+ "subject": "18000000136400F1040000000000000000000000004C3000",
1490
+ "string": "12.65E+8",
1491
+ "match_string": "1.265E+9"
1492
+ },
1493
+ {
1494
+ "description": "[basx044] strings without E cannot generate E in result",
1495
+ "subject": "18000000136400FC040000000000000000000000003C3000",
1496
+ "string": "012.76",
1497
+ "match_string": "12.76"
1498
+ },
1499
+ {
1500
+ "description": "[basx042] strings without E cannot generate E in result",
1501
+ "subject": "18000000136400FC040000000000000000000000003C3000",
1502
+ "string": "12.76"
1503
+ },
1504
+ {
1505
+ "description": "[basx046] strings without E cannot generate E in result",
1506
+ "subject": "180000001364001100000000000000000000000000403000",
1507
+ "string": "17.",
1508
+ "match_string": "17"
1509
+ },
1510
+ {
1511
+ "description": "[basx049] strings without E cannot generate E in result",
1512
+ "subject": "180000001364002C00000000000000000000000000403000",
1513
+ "string": "0044",
1514
+ "match_string": "44"
1515
+ },
1516
+ {
1517
+ "description": "[basx048] strings without E cannot generate E in result",
1518
+ "subject": "180000001364002C00000000000000000000000000403000",
1519
+ "string": "044",
1520
+ "match_string": "44"
1521
+ },
1522
+ {
1523
+ "description": "[basx158] Numbers with E",
1524
+ "subject": "180000001364002C00000000000000000000000000523000",
1525
+ "string": "44E+9",
1526
+ "match_string": "4.4E+10"
1527
+ },
1528
+ {
1529
+ "description": "[basx068] examples",
1530
+ "subject": "180000001364003200000000000000000000000000323000",
1531
+ "string": "50E-7",
1532
+ "match_string": "0.0000050"
1533
+ },
1534
+ {
1535
+ "description": "[basx169] Numbers with E",
1536
+ "subject": "180000001364006400000000000000000000000000523000",
1537
+ "string": "100e+009",
1538
+ "match_string": "1.00E+11"
1539
+ },
1540
+ {
1541
+ "description": "[basx167] Numbers with E",
1542
+ "subject": "180000001364006400000000000000000000000000523000",
1543
+ "string": "100e+09",
1544
+ "match_string": "1.00E+11"
1545
+ },
1546
+ {
1547
+ "description": "[basx168] Numbers with E",
1548
+ "subject": "180000001364006400000000000000000000000000F43000",
1549
+ "string": "100E+90",
1550
+ "match_string": "1.00E+92"
1551
+ },
1552
+ {
1553
+ "description": "[basx166] Numbers with E",
1554
+ "subject": "180000001364006400000000000000000000000000523000",
1555
+ "string": "100e+9",
1556
+ "match_string": "1.00E+11"
1557
+ },
1558
+ {
1559
+ "description": "[basx210] Numbers with E",
1560
+ "subject": "18000000136400F1040000000000000000000000003E3000",
1561
+ "string": "126.5"
1562
+ },
1563
+ {
1564
+ "description": "[basx217] Numbers with E",
1565
+ "subject": "18000000136400F1040000000000000000000000003E3000",
1566
+ "string": "126.5E-0",
1567
+ "match_string": "126.5"
1568
+ },
1569
+ {
1570
+ "description": "[basx216] Numbers with E",
1571
+ "subject": "18000000136400F1040000000000000000000000003C3000",
1572
+ "string": "126.5E-1",
1573
+ "match_string": "12.65"
1574
+ },
1575
+ {
1576
+ "description": "[basx218] Numbers with E",
1577
+ "subject": "18000000136400F104000000000000000000000000403000",
1578
+ "string": "126.5E+1",
1579
+ "match_string": "1265"
1580
+ },
1581
+ {
1582
+ "description": "[basx211] Numbers with E",
1583
+ "subject": "18000000136400F104000000000000000000000000163000",
1584
+ "string": "126.5E-20",
1585
+ "match_string": "1.265E-18"
1586
+ },
1587
+ {
1588
+ "description": "[basx223] Numbers with E",
1589
+ "subject": "18000000136400F104000000000000000000000000663000",
1590
+ "string": "126.5E+20",
1591
+ "match_string": "1.265E+22"
1592
+ },
1593
+ {
1594
+ "description": "[basx215] Numbers with E",
1595
+ "subject": "18000000136400F1040000000000000000000000003A3000",
1596
+ "string": "126.5E-2",
1597
+ "match_string": "1.265"
1598
+ },
1599
+ {
1600
+ "description": "[basx219] Numbers with E",
1601
+ "subject": "18000000136400F104000000000000000000000000423000",
1602
+ "string": "126.5E+2",
1603
+ "match_string": "1.265E+4"
1604
+ },
1605
+ {
1606
+ "description": "[basx214] Numbers with E",
1607
+ "subject": "18000000136400F104000000000000000000000000383000",
1608
+ "string": "126.5E-3",
1609
+ "match_string": "0.1265"
1610
+ },
1611
+ {
1612
+ "description": "[basx220] Numbers with E",
1613
+ "subject": "18000000136400F104000000000000000000000000443000",
1614
+ "string": "126.5E+3",
1615
+ "match_string": "1.265E+5"
1616
+ },
1617
+ {
1618
+ "description": "[basx213] Numbers with E",
1619
+ "subject": "18000000136400F104000000000000000000000000363000",
1620
+ "string": "126.5E-4",
1621
+ "match_string": "0.01265"
1622
+ },
1623
+ {
1624
+ "description": "[basx221] Numbers with E",
1625
+ "subject": "18000000136400F104000000000000000000000000463000",
1626
+ "string": "126.5E+4",
1627
+ "match_string": "1.265E+6"
1628
+ },
1629
+ {
1630
+ "description": "[basx212] Numbers with E",
1631
+ "subject": "18000000136400F1040000000000000000000000002E3000",
1632
+ "string": "126.5E-8",
1633
+ "match_string": "0.000001265"
1634
+ },
1635
+ {
1636
+ "description": "[basx222] Numbers with E",
1637
+ "subject": "18000000136400F1040000000000000000000000004E3000",
1638
+ "string": "126.5E+8",
1639
+ "match_string": "1.265E+10"
1640
+ },
1641
+ {
1642
+ "description": "[basx006] conform to rules and exponent will be in permitted range).",
1643
+ "subject": "18000000136400E803000000000000000000000000403000",
1644
+ "string": "1000"
1645
+ },
1646
+ {
1647
+ "description": "[basx230] Numbers with E",
1648
+ "subject": "18000000136400F104000000000000000000000000403000",
1649
+ "string": "1265"
1650
+ },
1651
+ {
1652
+ "description": "[basx237] Numbers with E",
1653
+ "subject": "18000000136400F104000000000000000000000000403000",
1654
+ "string": "1265E-0",
1655
+ "match_string": "1265"
1656
+ },
1657
+ {
1658
+ "description": "[basx236] Numbers with E",
1659
+ "subject": "18000000136400F1040000000000000000000000003E3000",
1660
+ "string": "1265E-1",
1661
+ "match_string": "126.5"
1662
+ },
1663
+ {
1664
+ "description": "[basx238] Numbers with E",
1665
+ "subject": "18000000136400F104000000000000000000000000423000",
1666
+ "string": "1265E+1",
1667
+ "match_string": "1.265E+4"
1668
+ },
1669
+ {
1670
+ "description": "[basx231] Numbers with E",
1671
+ "subject": "18000000136400F104000000000000000000000000183000",
1672
+ "string": "1265E-20",
1673
+ "match_string": "1.265E-17"
1674
+ },
1675
+ {
1676
+ "description": "[basx243] Numbers with E",
1677
+ "subject": "18000000136400F104000000000000000000000000683000",
1678
+ "string": "1265E+20",
1679
+ "match_string": "1.265E+23"
1680
+ },
1681
+ {
1682
+ "description": "[basx235] Numbers with E",
1683
+ "subject": "18000000136400F1040000000000000000000000003C3000",
1684
+ "string": "1265E-2",
1685
+ "match_string": "12.65"
1686
+ },
1687
+ {
1688
+ "description": "[basx239] Numbers with E",
1689
+ "subject": "18000000136400F104000000000000000000000000443000",
1690
+ "string": "1265E+2",
1691
+ "match_string": "1.265E+5"
1692
+ },
1693
+ {
1694
+ "description": "[basx234] Numbers with E",
1695
+ "subject": "18000000136400F1040000000000000000000000003A3000",
1696
+ "string": "1265E-3",
1697
+ "match_string": "1.265"
1698
+ },
1699
+ {
1700
+ "description": "[basx240] Numbers with E",
1701
+ "subject": "18000000136400F104000000000000000000000000463000",
1702
+ "string": "1265E+3",
1703
+ "match_string": "1.265E+6"
1704
+ },
1705
+ {
1706
+ "description": "[basx233] Numbers with E",
1707
+ "subject": "18000000136400F104000000000000000000000000383000",
1708
+ "string": "1265E-4",
1709
+ "match_string": "0.1265"
1710
+ },
1711
+ {
1712
+ "description": "[basx241] Numbers with E",
1713
+ "subject": "18000000136400F104000000000000000000000000483000",
1714
+ "string": "1265E+4",
1715
+ "match_string": "1.265E+7"
1716
+ },
1717
+ {
1718
+ "description": "[basx232] Numbers with E",
1719
+ "subject": "18000000136400F104000000000000000000000000303000",
1720
+ "string": "1265E-8",
1721
+ "match_string": "0.00001265"
1722
+ },
1723
+ {
1724
+ "description": "[basx242] Numbers with E",
1725
+ "subject": "18000000136400F104000000000000000000000000503000",
1726
+ "string": "1265E+8",
1727
+ "match_string": "1.265E+11"
1728
+ },
1729
+ {
1730
+ "description": "[basx060] strings without E cannot generate E in result",
1731
+ "subject": "18000000136400185C0ACE00000000000000000000383000",
1732
+ "string": "345678.5432"
1733
+ },
1734
+ {
1735
+ "description": "[basx059] strings without E cannot generate E in result",
1736
+ "subject": "18000000136400F198670C08000000000000000000363000",
1737
+ "string": "0345678.54321",
1738
+ "match_string": "345678.54321"
1739
+ },
1740
+ {
1741
+ "description": "[basx058] strings without E cannot generate E in result",
1742
+ "subject": "180000001364006AF90B7C50000000000000000000343000",
1743
+ "string": "345678.543210"
1744
+ },
1745
+ {
1746
+ "description": "[basx057] strings without E cannot generate E in result",
1747
+ "subject": "180000001364006A19562522020000000000000000343000",
1748
+ "string": "2345678.543210"
1749
+ },
1750
+ {
1751
+ "description": "[basx056] strings without E cannot generate E in result",
1752
+ "subject": "180000001364006AB9C8733A0B0000000000000000343000",
1753
+ "string": "12345678.543210"
1754
+ },
1755
+ {
1756
+ "description": "[basx031] conform to rules and exponent will be in permitted range).",
1757
+ "subject": "1800000013640040AF0D8648700000000000000000343000",
1758
+ "string": "123456789.000000"
1759
+ },
1760
+ {
1761
+ "description": "[basx030] conform to rules and exponent will be in permitted range).",
1762
+ "subject": "1800000013640080910F8648700000000000000000343000",
1763
+ "string": "123456789.123456"
1764
+ },
1765
+ {
1766
+ "description": "[basx032] conform to rules and exponent will be in permitted range).",
1767
+ "subject": "1800000013640080910F8648700000000000000000403000",
1768
+ "string": "123456789123456"
1769
+ }
1770
+ ]
1771
+ }