Lines Matching refs:CHECK_EQ
29 CHECK_EQ(0.0, Strtod(vector, 1));
30 CHECK_EQ(0.0, Strtod(vector, 2));
31 CHECK_EQ(0.0, Strtod(vector, -2));
32 CHECK_EQ(0.0, Strtod(vector, -999));
33 CHECK_EQ(0.0, Strtod(vector, +999));
36 CHECK_EQ(1.0, Strtod(vector, 0));
37 CHECK_EQ(10.0, Strtod(vector, 1));
38 CHECK_EQ(100.0, Strtod(vector, 2));
39 CHECK_EQ(1e20, Strtod(vector, 20));
40 CHECK_EQ(1e22, Strtod(vector, 22));
41 CHECK_EQ(1e23, Strtod(vector, 23));
42 CHECK_EQ(1e35, Strtod(vector, 35));
43 CHECK_EQ(1e36, Strtod(vector, 36));
44 CHECK_EQ(1e37, Strtod(vector, 37));
45 CHECK_EQ(1e-1, Strtod(vector, -1));
46 CHECK_EQ(1e-2, Strtod(vector, -2));
47 CHECK_EQ(1e-5, Strtod(vector, -5));
48 CHECK_EQ(1e-20, Strtod(vector, -20));
49 CHECK_EQ(1e-22, Strtod(vector, -22));
50 CHECK_EQ(1e-23, Strtod(vector, -23));
51 CHECK_EQ(1e-25, Strtod(vector, -25));
52 CHECK_EQ(1e-39, Strtod(vector, -39));
55 CHECK_EQ(2.0, Strtod(vector, 0));
56 CHECK_EQ(20.0, Strtod(vector, 1));
57 CHECK_EQ(200.0, Strtod(vector, 2));
58 CHECK_EQ(2e20, Strtod(vector, 20));
59 CHECK_EQ(2e22, Strtod(vector, 22));
60 CHECK_EQ(2e23, Strtod(vector, 23));
61 CHECK_EQ(2e35, Strtod(vector, 35));
62 CHECK_EQ(2e36, Strtod(vector, 36));
63 CHECK_EQ(2e37, Strtod(vector, 37));
64 CHECK_EQ(2e-1, Strtod(vector, -1));
65 CHECK_EQ(2e-2, Strtod(vector, -2));
66 CHECK_EQ(2e-5, Strtod(vector, -5));
67 CHECK_EQ(2e-20, Strtod(vector, -20));
68 CHECK_EQ(2e-22, Strtod(vector, -22));
69 CHECK_EQ(2e-23, Strtod(vector, -23));
70 CHECK_EQ(2e-25, Strtod(vector, -25));
71 CHECK_EQ(2e-39, Strtod(vector, -39));
74 CHECK_EQ(9.0, Strtod(vector, 0));
75 CHECK_EQ(90.0, Strtod(vector, 1));
76 CHECK_EQ(900.0, Strtod(vector, 2));
77 CHECK_EQ(9e20, Strtod(vector, 20));
78 CHECK_EQ(9e22, Strtod(vector, 22));
79 CHECK_EQ(9e23, Strtod(vector, 23));
80 CHECK_EQ(9e35, Strtod(vector, 35));
81 CHECK_EQ(9e36, Strtod(vector, 36));
82 CHECK_EQ(9e37, Strtod(vector, 37));
83 CHECK_EQ(9e-1, Strtod(vector, -1));
84 CHECK_EQ(9e-2, Strtod(vector, -2));
85 CHECK_EQ(9e-5, Strtod(vector, -5));
86 CHECK_EQ(9e-20, Strtod(vector, -20));
87 CHECK_EQ(9e-22, Strtod(vector, -22));
88 CHECK_EQ(9e-23, Strtod(vector, -23));
89 CHECK_EQ(9e-25, Strtod(vector, -25));
90 CHECK_EQ(9e-39, Strtod(vector, -39));
93 CHECK_EQ(12345.0, Strtod(vector, 0));
94 CHECK_EQ(123450.0, Strtod(vector, 1));
95 CHECK_EQ(1234500.0, Strtod(vector, 2));
96 CHECK_EQ(12345e20, Strtod(vector, 20));
97 CHECK_EQ(12345e22, Strtod(vector, 22));
98 CHECK_EQ(12345e23, Strtod(vector, 23));
99 CHECK_EQ(12345e30, Strtod(vector, 30));
100 CHECK_EQ(12345e31, Strtod(vector, 31));
101 CHECK_EQ(12345e32, Strtod(vector, 32));
102 CHECK_EQ(12345e35, Strtod(vector, 35));
103 CHECK_EQ(12345e36, Strtod(vector, 36));
104 CHECK_EQ(12345e37, Strtod(vector, 37));
105 CHECK_EQ(12345e-1, Strtod(vector, -1));
106 CHECK_EQ(12345e-2, Strtod(vector, -2));
107 CHECK_EQ(12345e-5, Strtod(vector, -5));
108 CHECK_EQ(12345e-20, Strtod(vector, -20));
109 CHECK_EQ(12345e-22, Strtod(vector, -22));
110 CHECK_EQ(12345e-23, Strtod(vector, -23));
111 CHECK_EQ(12345e-25, Strtod(vector, -25));
112 CHECK_EQ(12345e-39, Strtod(vector, -39));
115 CHECK_EQ(12345678901234.0, Strtod(vector, 0));
116 CHECK_EQ(123456789012340.0, Strtod(vector, 1));
117 CHECK_EQ(1234567890123400.0, Strtod(vector, 2));
118 CHECK_EQ(12345678901234e20, Strtod(vector, 20));
119 CHECK_EQ(12345678901234e22, Strtod(vector, 22));
120 CHECK_EQ(12345678901234e23, Strtod(vector, 23));
121 CHECK_EQ(12345678901234e30, Strtod(vector, 30));
122 CHECK_EQ(12345678901234e31, Strtod(vector, 31));
123 CHECK_EQ(12345678901234e32, Strtod(vector, 32));
124 CHECK_EQ(12345678901234e35, Strtod(vector, 35));
125 CHECK_EQ(12345678901234e36, Strtod(vector, 36));
126 CHECK_EQ(12345678901234e37, Strtod(vector, 37));
127 CHECK_EQ(12345678901234e-1, Strtod(vector, -1));
128 CHECK_EQ(12345678901234e-2, Strtod(vector, -2));
129 CHECK_EQ(12345678901234e-5, Strtod(vector, -5));
130 CHECK_EQ(12345678901234e-20, Strtod(vector, -20));
131 CHECK_EQ(12345678901234e-22, Strtod(vector, -22));
132 CHECK_EQ(12345678901234e-23, Strtod(vector, -23));
133 CHECK_EQ(12345678901234e-25, Strtod(vector, -25));
134 CHECK_EQ(12345678901234e-39, Strtod(vector, -39));
137 CHECK_EQ(123456789012345.0, Strtod(vector, 0));
138 CHECK_EQ(1234567890123450.0, Strtod(vector, 1));
139 CHECK_EQ(12345678901234500.0, Strtod(vector, 2));
140 CHECK_EQ(123456789012345e20, Strtod(vector, 20));
141 CHECK_EQ(123456789012345e22, Strtod(vector, 22));
142 CHECK_EQ(123456789012345e23, Strtod(vector, 23));
143 CHECK_EQ(123456789012345e35, Strtod(vector, 35));
144 CHECK_EQ(123456789012345e36, Strtod(vector, 36));
145 CHECK_EQ(123456789012345e37, Strtod(vector, 37));
146 CHECK_EQ(123456789012345e39, Strtod(vector, 39));
147 CHECK_EQ(123456789012345e-1, Strtod(vector, -1));
148 CHECK_EQ(123456789012345e-2, Strtod(vector, -2));
149 CHECK_EQ(123456789012345e-5, Strtod(vector, -5));
150 CHECK_EQ(123456789012345e-20, Strtod(vector, -20));
151 CHECK_EQ(123456789012345e-22, Strtod(vector, -22));
152 CHECK_EQ(123456789012345e-23, Strtod(vector, -23));
153 CHECK_EQ(123456789012345e-25, Strtod(vector, -25));
154 CHECK_EQ(123456789012345e-39, Strtod(vector, -39));
156 CHECK_EQ(0.0, StrtodChar("0", 12345));
157 CHECK_EQ(0.0, StrtodChar("", 1324));
158 CHECK_EQ(0.0, StrtodChar("000000000", 123));
159 CHECK_EQ(0.0, StrtodChar("2", -324));
160 CHECK_EQ(4e-324, StrtodChar("3", -324));
162 // CHECK_EQ(1e-325, StrtodChar("1", -325))), but then Gcc complains that
164 CHECK_EQ(0.0, StrtodChar("1", -325));
165 CHECK_EQ(0.0, StrtodChar("1", -325));
166 CHECK_EQ(0.0, StrtodChar("20000", -328));
167 CHECK_EQ(40000e-328, StrtodChar("30000", -328));
168 CHECK_EQ(0.0, StrtodChar("10000", -329));
169 CHECK_EQ(0.0, StrtodChar("90000", -329));
170 CHECK_EQ(0.0, StrtodChar("000000001", -325));
171 CHECK_EQ(0.0, StrtodChar("000000001", -325));
172 CHECK_EQ(0.0, StrtodChar("0000000020000", -328));
173 CHECK_EQ(40000e-328, StrtodChar("00000030000", -328));
174 CHECK_EQ(0.0, StrtodChar("0000000010000", -329));
175 CHECK_EQ(0.0, StrtodChar("0000000090000", -329));
178 // left side (i.e. CHECK_EQ(1e309, StrtodChar("1", 309))), but then Gcc
180 CHECK_EQ(V8_INFINITY, StrtodChar("1", 309));
181 CHECK_EQ(1e308, StrtodChar("1", 308));
182 CHECK_EQ(1234e305, StrtodChar("1234", 305));
183 CHECK_EQ(1234e304, StrtodChar("1234", 304));
184 CHECK_EQ(V8_INFINITY, StrtodChar("18", 307));
185 CHECK_EQ(17e307, StrtodChar("17", 307));
186 CHECK_EQ(V8_INFINITY, StrtodChar("0000001", 309));
187 CHECK_EQ(1e308, StrtodChar("00000001", 308));
188 CHECK_EQ(1234e305, StrtodChar("00000001234", 305));
189 CHECK_EQ(1234e304, StrtodChar("000000001234", 304));
190 CHECK_EQ(V8_INFINITY, StrtodChar("0000000018", 307));
191 CHECK_EQ(17e307, StrtodChar("0000000017", 307));
192 CHECK_EQ(V8_INFINITY, StrtodChar("1000000", 303));
193 CHECK_EQ(1e308, StrtodChar("100000", 303));
194 CHECK_EQ(1234e305, StrtodChar("123400000", 300));
195 CHECK_EQ(1234e304, StrtodChar("123400000", 299));
196 CHECK_EQ(V8_INFINITY, StrtodChar("180000000", 300));
197 CHECK_EQ(17e307, StrtodChar("170000000", 300));
198 CHECK_EQ(V8_INFINITY, StrtodChar("00000001000000", 303));
199 CHECK_EQ(1e308, StrtodChar("000000000000100000", 303));
200 CHECK_EQ(1234e305, StrtodChar("00000000123400000", 300));
201 CHECK_EQ(1234e304, StrtodChar("0000000123400000", 299));
202 CHECK_EQ(V8_INFINITY, StrtodChar("00000000180000000", 300));
203 CHECK_EQ(17e307, StrtodChar("00000000170000000", 300));
204 CHECK_EQ(1.7976931348623157E+308, StrtodChar("17976931348623157", 292));
205 CHECK_EQ(1.7976931348623158E+308, StrtodChar("17976931348623158", 292));
206 CHECK_EQ(V8_INFINITY, StrtodChar("17976931348623159", 292));
212 CHECK_EQ(89255e-22, StrtodChar("89255", -22));
215 CHECK_EQ(358416272e-33, StrtodChar("358416272", -33));
216 CHECK_EQ(104110013277974872254e-225,
219 CHECK_EQ(123456789e108, StrtodChar("123456789", 108));
220 CHECK_EQ(123456789e109, StrtodChar("123456789", 109));
221 CHECK_EQ(123456789e110, StrtodChar("123456789", 110));
222 CHECK_EQ(123456789e111, StrtodChar("123456789", 111));
223 CHECK_EQ(123456789e112, StrtodChar("123456789", 112));
224 CHECK_EQ(123456789e113, StrtodChar("123456789", 113));
225 CHECK_EQ(123456789e114, StrtodChar("123456789", 114));
226 CHECK_EQ(123456789e115, StrtodChar("123456789", 115));
228 CHECK_EQ(1234567890123456789012345e108,
230 CHECK_EQ(1234567890123456789012345e109,
232 CHECK_EQ(1234567890123456789012345e110,
234 CHECK_EQ(1234567890123456789012345e111,
236 CHECK_EQ(1234567890123456789012345e112,
238 CHECK_EQ(1234567890123456789012345e113,
240 CHECK_EQ(1234567890123456789012345e114,
242 CHECK_EQ(1234567890123456789012345e115,
245 CHECK_EQ(1234567890123456789052345e108,
247 CHECK_EQ(1234567890123456789052345e109,
249 CHECK_EQ(1234567890123456789052345e110,
251 CHECK_EQ(1234567890123456789052345e111,
253 CHECK_EQ(1234567890123456789052345e112,
255 CHECK_EQ(1234567890123456789052345e113,
257 CHECK_EQ(1234567890123456789052345e114,
259 CHECK_EQ(1234567890123456789052345e115,
262 CHECK_EQ(5.445618932859895e-255,
284 CHECK_EQ(72057594037927928.0, StrtodChar("72057594037927928", 0));
285 CHECK_EQ(72057594037927936.0, StrtodChar("72057594037927936", 0));
286 CHECK_EQ(72057594037927936.0, StrtodChar("72057594037927932", 0));
287 CHECK_EQ(72057594037927928.0, StrtodChar("7205759403792793199999", -5));
288 CHECK_EQ(72057594037927936.0, StrtodChar("7205759403792793200001", -5));
293 CHECK_EQ(9223372036854774784.0, StrtodChar("9223372036854774784", 0));
294 CHECK_EQ(9223372036854775808.0, StrtodChar("9223372036854775808", 0));
295 CHECK_EQ(9223372036854775808.0, StrtodChar("9223372036854775296", 0));
296 CHECK_EQ(9223372036854774784.0, StrtodChar("922337203685477529599999", -5));
297 CHECK_EQ(9223372036854775808.0, StrtodChar("922337203685477529600001", -5));
302 CHECK_EQ(10141204801825834086073718800384.0,
304 CHECK_EQ(10141204801825835211973625643008.0,
306 CHECK_EQ(10141204801825835211973625643008.0,
308 CHECK_EQ(10141204801825834086073718800384.0,
310 CHECK_EQ(10141204801825835211973625643008.0,
317 CHECK_EQ(5708990770823838890407843763683279797179383808.0,
319 CHECK_EQ(5708990770823839524233143877797980545530986496.0,
321 CHECK_EQ(5708990770823839524233143877797980545530986496.0,
323 CHECK_EQ(5708990770823838890407843763683279797179383808.0,
325 CHECK_EQ(5708990770823839524233143877797980545530986496.0,
330 CHECK_EQ(2.225073858507201e-308, StrtodChar("22250738585072011", -324));
331 CHECK_EQ(2.22507385850720138309e-308,