Lines Matching refs:CHECK_EQ
55 CHECK_EQ(0.0, Strtod(vector, 1));
56 CHECK_EQ(0.0, Strtod(vector, 2));
57 CHECK_EQ(0.0, Strtod(vector, -2));
58 CHECK_EQ(0.0, Strtod(vector, -999));
59 CHECK_EQ(0.0, Strtod(vector, +999));
62 CHECK_EQ(1.0, Strtod(vector, 0));
63 CHECK_EQ(10.0, Strtod(vector, 1));
64 CHECK_EQ(100.0, Strtod(vector, 2));
65 CHECK_EQ(1e20, Strtod(vector, 20));
66 CHECK_EQ(1e22, Strtod(vector, 22));
67 CHECK_EQ(1e23, Strtod(vector, 23));
68 CHECK_EQ(1e35, Strtod(vector, 35));
69 CHECK_EQ(1e36, Strtod(vector, 36));
70 CHECK_EQ(1e37, Strtod(vector, 37));
71 CHECK_EQ(1e-1, Strtod(vector, -1));
72 CHECK_EQ(1e-2, Strtod(vector, -2));
73 CHECK_EQ(1e-5, Strtod(vector, -5));
74 CHECK_EQ(1e-20, Strtod(vector, -20));
75 CHECK_EQ(1e-22, Strtod(vector, -22));
76 CHECK_EQ(1e-23, Strtod(vector, -23));
77 CHECK_EQ(1e-25, Strtod(vector, -25));
78 CHECK_EQ(1e-39, Strtod(vector, -39));
81 CHECK_EQ(2.0, Strtod(vector, 0));
82 CHECK_EQ(20.0, Strtod(vector, 1));
83 CHECK_EQ(200.0, Strtod(vector, 2));
84 CHECK_EQ(2e20, Strtod(vector, 20));
85 CHECK_EQ(2e22, Strtod(vector, 22));
86 CHECK_EQ(2e23, Strtod(vector, 23));
87 CHECK_EQ(2e35, Strtod(vector, 35));
88 CHECK_EQ(2e36, Strtod(vector, 36));
89 CHECK_EQ(2e37, Strtod(vector, 37));
90 CHECK_EQ(2e-1, Strtod(vector, -1));
91 CHECK_EQ(2e-2, Strtod(vector, -2));
92 CHECK_EQ(2e-5, Strtod(vector, -5));
93 CHECK_EQ(2e-20, Strtod(vector, -20));
94 CHECK_EQ(2e-22, Strtod(vector, -22));
95 CHECK_EQ(2e-23, Strtod(vector, -23));
96 CHECK_EQ(2e-25, Strtod(vector, -25));
97 CHECK_EQ(2e-39, Strtod(vector, -39));
100 CHECK_EQ(9.0, Strtod(vector, 0));
101 CHECK_EQ(90.0, Strtod(vector, 1));
102 CHECK_EQ(900.0, Strtod(vector, 2));
103 CHECK_EQ(9e20, Strtod(vector, 20));
104 CHECK_EQ(9e22, Strtod(vector, 22));
105 CHECK_EQ(9e23, Strtod(vector, 23));
106 CHECK_EQ(9e35, Strtod(vector, 35));
107 CHECK_EQ(9e36, Strtod(vector, 36));
108 CHECK_EQ(9e37, Strtod(vector, 37));
109 CHECK_EQ(9e-1, Strtod(vector, -1));
110 CHECK_EQ(9e-2, Strtod(vector, -2));
111 CHECK_EQ(9e-5, Strtod(vector, -5));
112 CHECK_EQ(9e-20, Strtod(vector, -20));
113 CHECK_EQ(9e-22, Strtod(vector, -22));
114 CHECK_EQ(9e-23, Strtod(vector, -23));
115 CHECK_EQ(9e-25, Strtod(vector, -25));
116 CHECK_EQ(9e-39, Strtod(vector, -39));
119 CHECK_EQ(12345.0, Strtod(vector, 0));
120 CHECK_EQ(123450.0, Strtod(vector, 1));
121 CHECK_EQ(1234500.0, Strtod(vector, 2));
122 CHECK_EQ(12345e20, Strtod(vector, 20));
123 CHECK_EQ(12345e22, Strtod(vector, 22));
124 CHECK_EQ(12345e23, Strtod(vector, 23));
125 CHECK_EQ(12345e30, Strtod(vector, 30));
126 CHECK_EQ(12345e31, Strtod(vector, 31));
127 CHECK_EQ(12345e32, Strtod(vector, 32));
128 CHECK_EQ(12345e35, Strtod(vector, 35));
129 CHECK_EQ(12345e36, Strtod(vector, 36));
130 CHECK_EQ(12345e37, Strtod(vector, 37));
131 CHECK_EQ(12345e-1, Strtod(vector, -1));
132 CHECK_EQ(12345e-2, Strtod(vector, -2));
133 CHECK_EQ(12345e-5, Strtod(vector, -5));
134 CHECK_EQ(12345e-20, Strtod(vector, -20));
135 CHECK_EQ(12345e-22, Strtod(vector, -22));
136 CHECK_EQ(12345e-23, Strtod(vector, -23));
137 CHECK_EQ(12345e-25, Strtod(vector, -25));
138 CHECK_EQ(12345e-39, Strtod(vector, -39));
141 CHECK_EQ(12345678901234.0, Strtod(vector, 0));
142 CHECK_EQ(123456789012340.0, Strtod(vector, 1));
143 CHECK_EQ(1234567890123400.0, Strtod(vector, 2));
144 CHECK_EQ(12345678901234e20, Strtod(vector, 20));
145 CHECK_EQ(12345678901234e22, Strtod(vector, 22));
146 CHECK_EQ(12345678901234e23, Strtod(vector, 23));
147 CHECK_EQ(12345678901234e30, Strtod(vector, 30));
148 CHECK_EQ(12345678901234e31, Strtod(vector, 31));
149 CHECK_EQ(12345678901234e32, Strtod(vector, 32));
150 CHECK_EQ(12345678901234e35, Strtod(vector, 35));
151 CHECK_EQ(12345678901234e36, Strtod(vector, 36));
152 CHECK_EQ(12345678901234e37, Strtod(vector, 37));
153 CHECK_EQ(12345678901234e-1, Strtod(vector, -1));
154 CHECK_EQ(12345678901234e-2, Strtod(vector, -2));
155 CHECK_EQ(12345678901234e-5, Strtod(vector, -5));
156 CHECK_EQ(12345678901234e-20, Strtod(vector, -20));
157 CHECK_EQ(12345678901234e-22, Strtod(vector, -22));
158 CHECK_EQ(12345678901234e-23, Strtod(vector, -23));
159 CHECK_EQ(12345678901234e-25, Strtod(vector, -25));
160 CHECK_EQ(12345678901234e-39, Strtod(vector, -39));
163 CHECK_EQ(123456789012345.0, Strtod(vector, 0));
164 CHECK_EQ(1234567890123450.0, Strtod(vector, 1));
165 CHECK_EQ(12345678901234500.0, Strtod(vector, 2));
166 CHECK_EQ(123456789012345e20, Strtod(vector, 20));
167 CHECK_EQ(123456789012345e22, Strtod(vector, 22));
168 CHECK_EQ(123456789012345e23, Strtod(vector, 23));
169 CHECK_EQ(123456789012345e35, Strtod(vector, 35));
170 CHECK_EQ(123456789012345e36, Strtod(vector, 36));
171 CHECK_EQ(123456789012345e37, Strtod(vector, 37));
172 CHECK_EQ(123456789012345e39, Strtod(vector, 39));
173 CHECK_EQ(123456789012345e-1, Strtod(vector, -1));
174 CHECK_EQ(123456789012345e-2, Strtod(vector, -2));
175 CHECK_EQ(123456789012345e-5, Strtod(vector, -5));
176 CHECK_EQ(123456789012345e-20, Strtod(vector, -20));
177 CHECK_EQ(123456789012345e-22, Strtod(vector, -22));
178 CHECK_EQ(123456789012345e-23, Strtod(vector, -23));
179 CHECK_EQ(123456789012345e-25, Strtod(vector, -25));
180 CHECK_EQ(123456789012345e-39, Strtod(vector, -39));
182 CHECK_EQ(0.0, StrtodChar("0", 12345));
183 CHECK_EQ(0.0, StrtodChar("", 1324));
184 CHECK_EQ(0.0, StrtodChar("000000000", 123));
185 CHECK_EQ(0.0, StrtodChar("2", -324));
186 CHECK_EQ(4e-324, StrtodChar("3", -324));
188 // CHECK_EQ(1e-325, StrtodChar("1", -325))), but then Gcc complains that
190 CHECK_EQ(0.0, StrtodChar("1", -325));
191 CHECK_EQ(0.0, StrtodChar("1", -325));
192 CHECK_EQ(0.0, StrtodChar("20000", -328));
193 CHECK_EQ(40000e-328, StrtodChar("30000", -328));
194 CHECK_EQ(0.0, StrtodChar("10000", -329));
195 CHECK_EQ(0.0, StrtodChar("90000", -329));
196 CHECK_EQ(0.0, StrtodChar("000000001", -325));
197 CHECK_EQ(0.0, StrtodChar("000000001", -325));
198 CHECK_EQ(0.0, StrtodChar("0000000020000", -328));
199 CHECK_EQ(40000e-328, StrtodChar("00000030000", -328));
200 CHECK_EQ(0.0, StrtodChar("0000000010000", -329));
201 CHECK_EQ(0.0, StrtodChar("0000000090000", -329));
204 // left side (i.e. CHECK_EQ(1e309, StrtodChar("1", 309))), but then Gcc
206 CHECK_EQ(V8_INFINITY, StrtodChar("1", 309));
207 CHECK_EQ(1e308, StrtodChar("1", 308));
208 CHECK_EQ(1234e305, StrtodChar("1234", 305));
209 CHECK_EQ(1234e304, StrtodChar("1234", 304));
210 CHECK_EQ(V8_INFINITY, StrtodChar("18", 307));
211 CHECK_EQ(17e307, StrtodChar("17", 307));
212 CHECK_EQ(V8_INFINITY, StrtodChar("0000001", 309));
213 CHECK_EQ(1e308, StrtodChar("00000001", 308));
214 CHECK_EQ(1234e305, StrtodChar("00000001234", 305));
215 CHECK_EQ(1234e304, StrtodChar("000000001234", 304));
216 CHECK_EQ(V8_INFINITY, StrtodChar("0000000018", 307));
217 CHECK_EQ(17e307, StrtodChar("0000000017", 307));
218 CHECK_EQ(V8_INFINITY, StrtodChar("1000000", 303));
219 CHECK_EQ(1e308, StrtodChar("100000", 303));
220 CHECK_EQ(1234e305, StrtodChar("123400000", 300));
221 CHECK_EQ(1234e304, StrtodChar("123400000", 299));
222 CHECK_EQ(V8_INFINITY, StrtodChar("180000000", 300));
223 CHECK_EQ(17e307, StrtodChar("170000000", 300));
224 CHECK_EQ(V8_INFINITY, StrtodChar("00000001000000", 303));
225 CHECK_EQ(1e308, StrtodChar("000000000000100000", 303));
226 CHECK_EQ(1234e305, StrtodChar("00000000123400000", 300));
227 CHECK_EQ(1234e304, StrtodChar("0000000123400000", 299));
228 CHECK_EQ(V8_INFINITY, StrtodChar("00000000180000000", 300));
229 CHECK_EQ(17e307, StrtodChar("00000000170000000", 300));
230 CHECK_EQ(1.7976931348623157E+308, StrtodChar("17976931348623157", 292));
231 CHECK_EQ(1.7976931348623158E+308, StrtodChar("17976931348623158", 292));
232 CHECK_EQ(V8_INFINITY, StrtodChar("17976931348623159", 292));
238 CHECK_EQ(89255e-22, StrtodChar("89255", -22));
241 CHECK_EQ(358416272e-33, StrtodChar("358416272", -33));
242 CHECK_EQ(104110013277974872254e-225,
245 CHECK_EQ(123456789e108, StrtodChar("123456789", 108));
246 CHECK_EQ(123456789e109, StrtodChar("123456789", 109));
247 CHECK_EQ(123456789e110, StrtodChar("123456789", 110));
248 CHECK_EQ(123456789e111, StrtodChar("123456789", 111));
249 CHECK_EQ(123456789e112, StrtodChar("123456789", 112));
250 CHECK_EQ(123456789e113, StrtodChar("123456789", 113));
251 CHECK_EQ(123456789e114, StrtodChar("123456789", 114));
252 CHECK_EQ(123456789e115, StrtodChar("123456789", 115));
254 CHECK_EQ(1234567890123456789012345e108,
256 CHECK_EQ(1234567890123456789012345e109,
258 CHECK_EQ(1234567890123456789012345e110,
260 CHECK_EQ(1234567890123456789012345e111,
262 CHECK_EQ(1234567890123456789012345e112,
264 CHECK_EQ(1234567890123456789012345e113,
266 CHECK_EQ(1234567890123456789012345e114,
268 CHECK_EQ(1234567890123456789012345e115,
271 CHECK_EQ(1234567890123456789052345e108,
273 CHECK_EQ(1234567890123456789052345e109,
275 CHECK_EQ(1234567890123456789052345e110,
277 CHECK_EQ(1234567890123456789052345e111,
279 CHECK_EQ(1234567890123456789052345e112,
281 CHECK_EQ(1234567890123456789052345e113,
283 CHECK_EQ(1234567890123456789052345e114,
285 CHECK_EQ(1234567890123456789052345e115,
288 CHECK_EQ(5.445618932859895e-255,
310 CHECK_EQ(72057594037927928.0, StrtodChar("72057594037927928", 0));
311 CHECK_EQ(72057594037927936.0, StrtodChar("72057594037927936", 0));
312 CHECK_EQ(72057594037927936.0, StrtodChar("72057594037927932", 0));
313 CHECK_EQ(72057594037927928.0, StrtodChar("7205759403792793199999", -5));
314 CHECK_EQ(72057594037927936.0, StrtodChar("7205759403792793200001", -5));
319 CHECK_EQ(9223372036854774784.0, StrtodChar("9223372036854774784", 0));
320 CHECK_EQ(9223372036854775808.0, StrtodChar("9223372036854775808", 0));
321 CHECK_EQ(9223372036854775808.0, StrtodChar("9223372036854775296", 0));
322 CHECK_EQ(9223372036854774784.0, StrtodChar("922337203685477529599999", -5));
323 CHECK_EQ(9223372036854775808.0, StrtodChar("922337203685477529600001", -5));
328 CHECK_EQ(10141204801825834086073718800384.0,
330 CHECK_EQ(10141204801825835211973625643008.0,
332 CHECK_EQ(10141204801825835211973625643008.0,
334 CHECK_EQ(10141204801825834086073718800384.0,
336 CHECK_EQ(10141204801825835211973625643008.0,
343 CHECK_EQ(5708990770823838890407843763683279797179383808.0,
345 CHECK_EQ(5708990770823839524233143877797980545530986496.0,
347 CHECK_EQ(5708990770823839524233143877797980545530986496.0,
349 CHECK_EQ
351 CHECK_EQ(5708990770823839524233143877797980545530986496.0,
356 CHECK_EQ(2.225073858507201e-308, StrtodChar("22250738585072011", -324));
357 CHECK_EQ(2.22507385850720138309e-308,