Lines Matching refs:testToString
30 function testToString(a, b) {
38 testToString("NaN", (NaN));
39 testToString("Infinity", (1/0));
40 testToString("-Infinity", (-1/0));
41 testToString("0", (0));
42 testToString("9", (9));
43 testToString("90", (90));
44 testToString("90.12", (90.12));
45 testToString("0.1", (0.1));
46 testToString("0.01", (0.01));
47 testToString("0.0123", (0.0123));
48 testToString("111111111111111110000", (111111111111111111111));
49 testToString("1.1111111111111111e+21", (1111111111111111111111));
50 testToString("1.1111111111111111e+22", (11111111111111111111111));
51 testToString("0.00001", (0.00001));
52 testToString("0.000001", (0.000001));
53 testToString("1e-7", (0.0000001));
54 testToString("1.2e-7", (0.00000012));
55 testToString("1.23e-7", (0.000000123));
56 testToString("1e-8", (0.00000001));
57 testToString("1.2e-8", (0.000000012));
58 testToString("1.23e-8", (0.0000000123));
60 testToString("0", (-0));
61 testToString("-9", (-9));
62 testToString("-90", (-90));
63 testToString("-90.12", (-90.12));
64 testToString("-0.1", (-0.1));
65 testToString("-0.01", (-0.01));
66 testToString("-0.0123", (-0.0123));
67 testToString("-111111111111111110000", (-111111111111111111111));
68 testToString("-1.1111111111111111e+21", (-1111111111111111111111));
69 testToString("-1.1111111111111111e+22", (-11111111111111111111111));
70 testToString("-0.00001", (-0.00001));
71 testToString("-0.000001", (-0.000001));
72 testToString("-1e-7", (-0.0000001));
73 testToString("-1.2e-7", (-0.00000012));
74 testToString("-1.23e-7", (-0.000000123));
75 testToString("-1e-8", (-0.00000001));
76 testToString("-1.2e-8", (-0.000000012));
77 testToString("-1.23e-8", (-0.0000000123));
79 testToString("1000", (1000));
80 testToString("0.00001", (0.00001));
81 testToString("1000000000000000100", (1000000000000000128));
82 testToString("1e+21", (1000000000000000012800));
83 testToString("-1e+21", (-1000000000000000012800));
84 testToString("1e-7", (0.0000001));
85 testToString("-1e-7", (-0.0000001));
86 testToString("1.0000000000000001e+21", (1000000000000000128000));
87 testToString("0.000001", (0.000001));
88 testToString("1e-7", (0.0000001));
131 testToString("4294967296", Math.pow(2,32));