File: GoldenDoubleValues.java

package info (click to toggle)
openjdk-11 11.0.4%2B11-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 757,028 kB
  • sloc: java: 5,016,041; xml: 1,191,974; cpp: 934,731; ansic: 555,697; sh: 24,299; objc: 12,703; python: 3,602; asm: 3,415; makefile: 2,772; awk: 351; sed: 172; perl: 114; jsp: 24; csh: 3
file content (965 lines) | stat: -rw-r--r-- 25,896 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
/*
 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * This code is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 only, as
 * published by the Free Software Foundation.
 *
 * This code is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * version 2 for more details (a copy is included in the LICENSE file that
 * accompanied this code).
 *
 * You should have received a copy of the GNU General Public License version
 * 2 along with this work; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 * or visit www.oracle.com if you need additional information or have any
 * questions.
 */

/* Set of constants and values used in RoundingAndPropertyTest.java.
 *
 * There are 5 different information in this class:
 * - TestLocale is the locale used by RoundingAndPropertyTest regression test
 *   when calling DecimalFormat.format() on either the set of DecimalGoldenValues
 *   or CurrencyGoldenValues.
 *   See main method of RoundingAndPropertyTest.
 *
 * - FullLocalizationTestLocale is the locale used by RoundingAndPropertyTest
 *   regression test when calling DecimalFormat.format() on the set of values
 *   (DecimalLocalizationValues) used to test that localization of digits
 *   happens correctly when needed.
 *   See main method of RoundingAndPropertyTest.
 *
 * - DecimalLocalizationValues is an array containing all the double values used
 *   to check that localization of digits happens correctly when needed.
 *   See RoundingAndPropertyTest.testLocalizationValues() method.
 *
 * - DecimalGoldenValues and CurrencyGoldenValues are arrays containing all the
 *   double values that will be used as input when checking correctness of
 *   results returned by DecimalFormat.format().
 *   2 arrays are needed since decimal and currency formatting patterns require
 *   a different number of digits after decimal point.
 *   See RoundingAndPropertyTest.testGoldenValues() method.
 *
 * - PROPERTY_CHECK_POSITIVE_VALUE and PROPERTY_CHECK_NEGATIVE_VALUE are the
 *   double values used for testing the validity of the property changes call
 *   in the fast-path case. The locale used in that case is TestLocale.
 *   See RoundingAndPropertyTest.testSettersAndFastPath() method.
 */

import java.util.*;

class GoldenDoubleValues {

    // TestLocale is the testing locale used by RoundingAndPropertyTest test,
    // when testing the golden double values
    static final Locale TestLocale = new Locale("en", "US");


    // FullTestLocale is the testing locale used by RoundingAndPropertyTest test,
    // when testing full localization of double values.
    static final Locale FullLocalizationTestLocale = new Locale("hi", "IN");


    /* Below are the two double values used for exercising the changes of
     * of DecimalFormat properties and symbols. These values are also used
     * as golden values (see golden arrays below).
     */

    /* PROPERTY_CHECK_NEGATIVE_VALUE is the negative double value used for
     * testing the validity of the property changes for fast-path.
     * See testSettersAndFastPath() in RoundingAndPropertyTest test.
     */
    static final double PROPERTY_CHECK_NEGATIVE_VALUE = -2147483646.2334997d;

    /* PROPERTY_CHECK_POSITIVE_VALUE is the positive double value used for
     * testing the validity of the property changes for fast-path.
     * See testSettersAndFastPath() in RoundingAndPropertyTest test.
     */
    static final double PROPERTY_CHECK_POSITIVE_VALUE =  2147483646.2335003d;

    /* --- Array of double values to test localization ------------------------
     *
     * For most locales, effective localization does not happen on digits, i.e.
     * the digits are not changed due to localization. In order to check that
     * fast-path localize correctly digits in such a case, the array of double
     * values below deals with all the case of localization that may happen on
     * digits
     */
    static final double[] DecimalLocalizationValues = {
        1.123,
        12.123,
        123.123,
        1234.123,
        12345.123,
        123456.123,
        1234567.123,
        12345678.123,
        123456789.123,
        1234567890.123,
        1234.0,
        1234.9,
        1234.99,
        1234.999
    };


    /* --- Arrays of golden double values ----------------------------------
     *
     * The   GoldenValues arrays  are used   as input values   for checking the
     * correctness  of  the    DecimalFormat.format()  call  results  done   in
     * RoundingAndPropertyTest regression test. The results are compared to the
     * expected ones  found in  GoldenFormattedValues.  For each value   in the
     * arrays  there  is   a corresponding    expected  string  result   found,
     * represented as an array  of unicode values, at  the same index  in the
     * related GoldenFormattedValues array.  The string returned by  the format
     * call and the found in GoldenFormattedValues array  must be equal for the
     * result to be considered valid.
     * See RoundingAndPropertyTest.testGoldenValues() method.
     *
     * We  need 2  such  GoldenValues  arrays  since the decimal  and  currency
     * formatting rules require different number of digits after decimal point.
     *
     * Thus we have two different arrays of golden values:
     *  - DecimalGoldenValues for the decimal case.
     *  - CurrencyGoldenValues for the currency case.
     *
     * They are associated to related GoldenFormattedValues arrays, generated by
     * running RoundingAndPropertyTest with a "gengold" argument:
     *  - DecimalGoldenFormattedValues for the decimal case.
     *  - CurrencyGoldenFormattedValues for the currency case.
     * These two generated arrays are found in GoldenFormattedValues.java file.
     *
     * The  impact of the formatting rules  is as follows,  because the pattern
     * rule for  the  fractional  part is different   for  decimal and currency
     * patterns:
     *  - in decimal case one must output the first non-zero 3 digits of
     *    fractional part 1.1232 => "1.123" and 1.12016789 => "1.12"
     *  - in currency case the first 2 fractional digits are always output
     *    1.1232 => "1.12" and 1.0016789 => "1.00"
     *
     * Thus we  need a different  number of  fractional digits when  we specify
     * below the golden double values to check, and most of the decimal and
     * currency golden values differ only in the number of fractional digits.
     *
     * The list below exercises almost all code pathes of the fast-path
     * algorithm except localization of digits.
     */

    // --- The set of golden values for the Decimal formatting case --------
    static final double[] DecimalGoldenValues = {
        // Testing of specific values
        +0.0,
        -0.0,
        Double.MIN_VALUE,
        Double.MIN_NORMAL,
        PROPERTY_CHECK_NEGATIVE_VALUE,
        PROPERTY_CHECK_POSITIVE_VALUE,
        -2147483647.9996,
        2147483647.9996,
        -1999999999.9994997,
        1999999999.9995003,
        // Testing fast-path range checks (all outside bounds)
        Double.NaN,
        Double.POSITIVE_INFINITY,
        Double.NEGATIVE_INFINITY,
        Double.MAX_VALUE,
        -9876543210.9876543,
        9876543210.9876543,
        -1234567890.1234567E128,
        1234567890.1234567E128,
        // Testing of integral string size
        1.123,
        12.123,
        123.123,
        1234.123,
        12345.123,
        123456.123,
        1234567.123,
        12345678.123,
        123456789.123,
        1234567890.123,
        -1.123,
        -12.123,
        -123.123,
        -1234.123,
        -12345.123,
        -123456.123,
        -1234567.123,
        -12345678.123,
        -123456789.123,
        -1234567890.123,
        // Testing of fractional string size
        0.1,
        0.12,
        0.123,
        0.1234,
        10.1,
        10.12,
        10.123,
        10.1234,
        100.1,
        100.12,
        100.123,
        100.1234,
        1000.1,
        1000.12,
        1000.123,
        1000.1234,
        10000.1,
        10000.12,
        10000.123,
        10000.1234,
        100000.1,
        100000.12,
        100000.123,
        100000.1234,
        1000000.1,
        1000000.12,
        1000000.123,
        1000000.1234,
        10000000.1,
        10000000.12,
        10000000.123,
        10000000.1234,
        100000000.1,
        100000000.12,
        100000000.123,
        100000000.1234,
        1000000000.1,
        1000000000.12,
        1000000000.123,
        1000000000.1234,
        -0.1,
        -0.12,
        -0.123,
        -0.1234,
        -10.1,
        -10.12,
        -10.123,
        -10.1234,
        -100.1,
        -100.12,
        -100.123,
        -100.1234,
        -1000.1,
        -1000.12,
        -1000.123,
        -1000.1234,
        -10000.1,
        -10000.12,
        -10000.123,
        -10000.1234,
        -100000.1,
        -100000.12,
        -100000.123,
        -100000.1234,
        -1000000.1,
        -1000000.12,
        -1000000.123,
        -1000000.1234,
        -10000000.1,
        -10000000.12,
        -10000000.123,
        -10000000.1234,
        -100000000.1,
        -100000000.12,
        -100000000.123,
        -100000000.1234,
        -1000000000.1,
        -1000000000.12,
        -1000000000.123,
        -1000000000.1234,
        // Testing of special rounding cases
        1.9993,
        12.9993,
        123.9993,
        1234.9993,
        12345.9993,
        123456.9993,
        1234567.9993,
        12345678.9993,
        123456789.9993,
        1234567890.9993,
        1.9996,
        12.9996,
        123.9996,
        1234.9996,
        12345.9996,
        123456.9996,
        1234567.9996,
        12345678.9996,
        123456789.9996,
        1234567890.9996,
        -1.9993,
        -12.9993,
        -123.9993,
        -1234.9993,
        -12345.9993,
        -123456.9993,
        -1234567.9993,
        -12345678.9993,
        -123456789.9993,
        -1234567890.9993,
        -1.9996,
        -12.9996,
        -123.9996,
        -1234.9996,
        -12345.9996,
        -123456.9996,
        -1234567.9996,
        -12345678.9996,
        -123456789.9996,
        -1234567890.9996,
        109.9996,
        1099.9996,
        10999.9996,
        109999.9996,
        1099999.9996,
        10999999.9996,
        109999999.9996,
        1099999999.9996,
        -109.9996,
        -1099.9996,
        -10999.9996,
        -109999.9996,
        -1099999.9996,
        -10999999.9996,
        -109999999.9996,
        -1099999999.9996,
        1.9996,
        19.9996,
        199.9996,
        1999.9996,
        19999.9996,
        199999.9996,
        1999999.9996,
        19999999.9996,
        199999999.9996,
        1999999999.9996,
        -1.9996,
        -19.9996,
        -199.9996,
        -1999.9996,
        -19999.9996,
        -199999.9996,
        -1999999.9996,
        -19999999.9996,
        -199999999.9996,
        -1999999999.9996,
        // Testing for all nines cases
        9.9996,
        99.9996,
        999.9996,
        9999.9996,
        99999.9996,
        999999.9996,
        9999999.9996,
        99999999.9996,
        999999999.9996,
        9.999,
        99.999,
        999.999,
        9999.999,
        99999.999,
        999999.999,
        9999999.999,
        99999999.999,
        999999999.999,
        -9.9996,
        -99.9996,
        -999.9996,
        -9999.9996,
        -99999.9996,
        -999999.9996,
        -9999999.9996,
        -99999999.9996,
        -999999999.9996,
        -9.999,
        -99.999,
        -999.999,
        -9999.999,
        -99999.999,
        -999999.999,
        -9999999.999,
        -99999999.999,
        -999999999.999,
        // Testing for no Fractional part cases
        1.0,
        12.0,
        123.0,
        1234.0,
        12345.0,
        123456.0,
        1234567.0,
        12345678.0,
        123456789.0,
        1234567890.0,
        -1.0,
        -12.0,
        -123.0,
        -1234.0,
        -12345.0,
        -123456.0,
        -1234567.0,
        -12345678.0,
        -123456789.0,
        -1234567890.0,
        // Testing of tricky cases
        -2599.399999990123,
        -2599.339999990123,
        -2599.333999990123,
        1.000099999999818,
        1.000199999999818,
        1.000299999999818,
        1.000399999999818,
        1.000499999999818,
        1.000599999999818,
        1.000699999999818,
        1.000799999999818,
        1.000899999999818,
        1.000999999999818,
        1.2224999999999980,
        1.2224999999999981,
        1.2224999999999982,
        1.2224999999999983,
        1.2224999999999984,
        1.2224999999999985,
        1.2224999999999986,
        1.2224999999999987,
        1.2224999999999988,
        1.2224999999999989,
        1.2224999999999990,
        1.2224999999999991,
        1.2224999999999992,
        1.2224999999999993,
        1.2224999999999994,
        1.2224999999999995,
        1.2224999999999996,
        1.2224999999999997,
        1.2224999999999998,
        // 1.2225 and 1.2224999999999999 have the same double approximation
        1.2225,
        1.2225000000000001,
        1.2225000000000002,
        1.2225000000000003,
        1.2225000000000004,
        1.2225000000000005,
        1.2225000000000006,
        1.2225000000000007,
        1.2225000000000008,
        1.2225000000000009,
        1.2225000000000010,
        1.2225000000000011,
        1.2225000000000012,
        1.2225000000000013,
        1.2225000000000014,
        1.2225000000000015,
        1.2225000000000016,
        1.2225000000000017,
        1.2225000000000018,
        1.2225000000000019,
        // Tricky rounding cases around tie values
        100913.67050000005,
        199999.99895901306,
        251846.3465,
        253243.8825000001,
        365045.85349999997,
        314734.9615,
        541133.9755,
        858372.1225,
        1000999.9995000001,
        1347505.7825,
        3358844.1975,
        9997979.4085,
        9993743.1585,
        9938671.9085,
        3385302.5465,
        3404642.6605,
        3431280.0865,
        3438756.4754999997,
        3446053.7874999996,
        3457917.5125,
        3465393.9014999997,
        3484734.0154999997,
        3492031.3274999997,
        3503895.0525,
        3511371.4414999997,
        3518668.7534999996,
        3530532.4785,
        3538008.8674999997,
        3545306.1794999996,
        3557169.9045,
        3557348.9814999998,
        3564646.2934999997,
        3583986.4074999997,
        3591283.7194999997,
        3603147.4445,
        3610623.8334999997,
        3617921.1454999996,
        3629784.8705,
        3637261.2594999997,
        3656422.2965,
        3656601.3734999998,
        3663898.6854999997,
        3675762.4105,
        3683238.7994999997,
        3690536.1114999996,
        3702399.8365,
        3709876.2254999997,
        3717173.5374999996,
        3729037.2625,
        3736513.6514999997,
        3755853.7654999997,
        3763151.0774999997,
        3775014.8025,
        3782491.1914999997,
        3789788.5034999996,
        3801652.2285,
        3809128.6174999997,
        3816425.9294999996,
        3828289.6545,
        3828468.7314999998,
        3835766.0434999997,
        3855106.1574999997,
        3862403.4694999997,
        3874267.1945,
        3881743.5834999997,
        3889040.8954999996,
        3900904.6205,
        3908381.0094999997,
        3927542.0465,
        3927721.1234999998,
        3935018.4354999997,
        3946882.1605,
        3954358.5494999997,
        3961655.8614999996,
        3973519.5865,
        3980995.9754999997,
        3988293.2874999996,
        4000157.0125,
        4007633.4014999997,
        4026973.5154999997,
        4034270.8274999997,
        4046134.5525,
        4053610.9414999997,
        4060908.2534999996,
        4072771.9785,
        4080248.3674999997,
        4087545.6794999996,
        4099409.4045,
        4099588.4814999998,
        4106885.7934999997,
        4126225.9074999997,
        4133523.2194999997,
        4145386.9445,
        4152863.3334999997,
        4160160.6454999996,
        4172024.3705,
        4179500.7594999997,
        4198661.7965,
        4203407.2865,
        4210704.5985,
        4213435.4975
    };

    // --- The set of golden values for the currency formatting case --------
    static final double[] CurrencyGoldenValues = {
        // Testing of specific values
        +0.0,
        -0.0,
        Double.MIN_VALUE,
        Double.MIN_NORMAL,
        PROPERTY_CHECK_NEGATIVE_VALUE,
        PROPERTY_CHECK_POSITIVE_VALUE,
        -2147483647.996,
        2147483647.996,
        -1999999999.9949997,
        1999999999.9950003,
        // Testing fast-path range checks (all outside bounds)
        Double.NaN,
        Double.POSITIVE_INFINITY,
        Double.NEGATIVE_INFINITY,
        Double.MAX_VALUE,
        -9876543210.9876543,
        9876543210.9876543,
        -1234567890.1234567E128,
        1234567890.1234567E128,
        // Testing of integral string size
        1.12,
        12.12,
        123.12,
        1234.12,
        12345.12,
        123456.12,
        1234567.12,
        12345678.12,
        123456789.12,
        1234567890.12,
        -1.12,
        -12.12,
        -123.12,
        -1234.12,
        -12345.12,
        -123456.12,
        -1234567.12,
        -12345678.12,
        -123456789.12,
        -1234567890.12,
        // Testing of fractional string size
        0.1,
        0.12,
        0.123,
        10.1,
        10.12,
        10.123,
        100.1,
        100.12,
        100.123,
        1000.1,
        1000.12,
        1000.123,
        10000.1,
        10000.12,
        10000.123,
        100000.1,
        100000.12,
        100000.123,
        1000000.1,
        1000000.12,
        1000000.123,
        10000000.1,
        10000000.12,
        10000000.123,
        100000000.1,
        100000000.12,
        100000000.123,
        1000000000.1,
        1000000000.12,
        1000000000.123,
        -0.1,
        -0.12,
        -0.123,
        -10.1,
        -10.12,
        -10.123,
        -100.1,
        -100.12,
        -100.123,
        -1000.1,
        -1000.12,
        -1000.123,
        -10000.1,
        -10000.12,
        -10000.123,
        -100000.1,
        -100000.12,
        -100000.123,
        -1000000.1,
        -1000000.12,
        -1000000.123,
        -10000000.1,
        -10000000.12,
        -10000000.123,
        -100000000.1,
        -100000000.12,
        -100000000.123,
        -1000000000.1,
        -1000000000.12,
        -1000000000.123,
        // Testing of special rounding cases
        1.993,
        12.993,
        123.993,
        1234.993,
        12345.993,
        123456.993,
        1234567.993,
        12345678.993,
        123456789.993,
        1234567890.993,
        1.996,
        12.996,
        123.996,
        1234.996,
        12345.996,
        123456.996,
        1234567.996,
        12345678.996,
        123456789.996,
        1234567890.996,
        -1.993,
        -12.993,
        -123.993,
        -1234.993,
        -12345.993,
        -123456.993,
        -1234567.993,
        -12345678.993,
        -123456789.993,
        -1234567890.993,
        -1.996,
        -12.996,
        -123.996,
        -1234.996,
        -12345.996,
        -123456.996,
        -1234567.996,
        -12345678.996,
        -123456789.996,
        -1234567890.996,
        109.996,
        1099.996,
        10999.996,
        109999.996,
        1099999.996,
        10999999.996,
        109999999.996,
        1099999999.996,
        -109.996,
        -1099.996,
        -10999.996,
        -109999.996,
        -1099999.996,
        -10999999.996,
        -109999999.996,
        -1099999999.996,
        1.996,
        19.996,
        199.996,
        1999.996,
        19999.996,
        199999.996,
        1999999.996,
        19999999.996,
        199999999.996,
        1999999999.996,
        -1.996,
        -19.996,
        -199.996,
        -1999.996,
        -19999.996,
        -199999.996,
        -1999999.996,
        -19999999.996,
        -199999999.996,
        -1999999999.996,
        // Testing of all nines cases
        9.996,
        99.996,
        999.996,
        9999.996,
        99999.996,
        999999.996,
        9999999.996,
        99999999.996,
        999999999.996,
        9.99,
        99.99,
        999.99,
        9999.99,
        99999.99,
        999999.99,
        9999999.99,
        99999999.99,
        999999999.99,
        -9.996,
        -99.996,
        -999.996,
        -9999.996,
        -99999.996,
        -999999.996,
        -9999999.996,
        -99999999.996,
        -999999999.996,
        -9.99,
        -99.99,
        -999.99,
        -9999.99,
        -99999.99,
        -999999.99,
        -9999999.99,
        -99999999.99,
        -999999999.99,
        // Testing of no Fractional part cases
        1.0,
        12.0,
        123.0,
        1234.0,
        12345.0,
        123456.0,
        1234567.0,
        12345678.0,
        123456789.0,
        1234567890.0,
        -1.0,
        -12.0,
        -123.0,
        -1234.0,
        -12345.0,
        -123456.0,
        -1234567.0,
        -12345678.0,
        -123456789.0,
        -1234567890.0,
        // Testing of tricky cases
        -2599.399999990123,
        -2599.339999990123,
        -2599.333999990123,
        1.000999999999818,
        1.001999999999818,
        1.002999999999818,
        1.003999999999818,
        1.004999999999818,
        1.005999999999818,
        1.006999999999818,
        1.007999999999818,
        1.008999999999818,
        1.009999999999818,
        1.224999999999980,
        1.224999999999981,
        1.224999999999982,
        1.224999999999983,
        1.224999999999984,
        1.224999999999985,
        1.224999999999986,
        1.224999999999987,
        1.224999999999988,
        1.224999999999989,
        1.224999999999990,
        1.224999999999991,
        1.224999999999992,
        1.224999999999993,
        1.224999999999994,
        1.224999999999995,
        1.224999999999996,
        1.224999999999997,
        1.224999999999998,
        1.224999999999999,
        1.225,
        1.225000000000001,
        1.225000000000002,
        1.225000000000003,
        1.225000000000004,
        1.225000000000005,
        1.225000000000006,
        1.225000000000007,
        1.225000000000008,
        1.225000000000009,
        1.225000000000010,
        1.225000000000011,
        1.225000000000012,
        1.225000000000013,
        1.225000000000014,
        1.225000000000015,
        1.225000000000016,
        1.225000000000017,
        1.225000000000018,
        1.225000000000019,
        // Tricky rounding cases around tie values
        1009136.7050000005,
        2518463.465,
        2532438.825000001,
        3650458.5349999997,
        3147349.615,
        5411339.755,
        8583721.225,
        13475057.825,
        33588441.975,
        99979794.085,
        99937431.585,
        99386719.085,
        33853025.465,
        34046426.605,
        34312800.865,
        34387564.754999997,
        34460537.874999996,
        34579175.125,
        34653939.014999997,
        34847340.154999997,
        34920313.274999997,
        35038950.525,
        35113714.414999997,
        35186687.534999996,
        35305324.785,
        35380088.674999997,
        35453061.794999996,
        35571699.045,
        35573489.814999998,
        35646462.934999997,
        35839864.074999997,
        35912837.194999997,
        36031474.445,
        36106238.334999997,
        36179211.454999996,
        36297848.705,
        36372612.594999997,
        36564222.965,
        36566013.734999998,
        36638986.854999997,
        36757624.105,
        36832387.994999997,
        36905361.114999996,
        37023998.365,
        37098762.254999997,
        37171735.374999996,
        37290372.625,
        37365136.514999997,
        37558537.654999997,
        37631510.774999997,
        37750148.025,
        37824911.914999997,
        37897885.034999996,
        38016522.285,
        38091286.174999997,
        38164259.294999996,
        38282896.545,
        38284687.314999998,
        38357660.434999997,
        38551061.574999997,
        38624034.694999997,
        38742671.945,
        38817435.834999997,
        38890408.954999996,
        39009046.205,
        39083810.094999997,
        39275420.465,
        39277211.234999998,
        39350184.354999997,
        39468821.605,
        39543585.494999997,
        39616558.614999996,
        39735195.865,
        39809959.754999997,
        39882932.874999996,
        40001570.125,
        40076334.014999997,
        40269735.154999997,
        40342708.274999997,
        40461345.525,
        40536109.414999997,
        40609082.534999996,
        40727719.785,
        40802483.674999997,
        40875456.794999996,
        40994094.045,
        40995884.814999998,
        41068857.934999997,
        41262259.074999997,
        41335232.194999997,
        41453869.445,
        41528633.334999997,
        41601606.454999996,
        41720243.705,
        41795007.594999997,
        41986617.965,
        42034072.865,
        42107045.985,
        42134354.975
    };
}