Lines Matching full:point

46   int point;  in TEST()  local
48 CHECK(FastFixedDtoa(1.0, 1, buffer, &length, &point)); in TEST()
50 CHECK_EQ(1, point); in TEST()
52 CHECK(FastFixedDtoa(1.0, 15, buffer, &length, &point)); in TEST()
54 CHECK_EQ(1, point); in TEST()
56 CHECK(FastFixedDtoa(1.0, 0, buffer, &length, &point)); in TEST()
58 CHECK_EQ(1, point); in TEST()
60 CHECK(FastFixedDtoa(0xFFFFFFFF, 5, buffer, &length, &point)); in TEST()
62 CHECK_EQ(10, point); in TEST()
64 CHECK(FastFixedDtoa(4294967296.0, 5, buffer, &length, &point)); in TEST()
66 CHECK_EQ(10, point); in TEST()
68 CHECK(FastFixedDtoa(1e21, 5, buffer, &length, &point)); in TEST()
70 // CHECK_EQ(22, point); in TEST()
71 CHECK_EQ(22, point); in TEST()
73 CHECK(FastFixedDtoa(999999999999999868928.00, 2, buffer, &length, &point)); in TEST()
75 CHECK_EQ(21, point); in TEST()
78 &length, &point)); in TEST()
80 CHECK_EQ(22, point); in TEST()
82 CHECK(FastFixedDtoa(1.5, 5, buffer, &length, &point)); in TEST()
84 CHECK_EQ(1, point); in TEST()
86 CHECK(FastFixedDtoa(1.55, 5, buffer, &length, &point)); in TEST()
88 CHECK_EQ(1, point); in TEST()
90 CHECK(FastFixedDtoa(1.55, 1, buffer, &length, &point)); in TEST()
92 CHECK_EQ(1, point); in TEST()
94 CHECK(FastFixedDtoa(1.00000001, 15, buffer, &length, &point)); in TEST()
96 CHECK_EQ(1, point); in TEST()
98 CHECK(FastFixedDtoa(0.1, 10, buffer, &length, &point)); in TEST()
100 CHECK_EQ(0, point); in TEST()
102 CHECK(FastFixedDtoa(0.01, 10, buffer, &length, &point)); in TEST()
104 CHECK_EQ(-1, point); in TEST()
106 CHECK(FastFixedDtoa(0.001, 10, buffer, &length, &point)); in TEST()
108 CHECK_EQ(-2, point); in TEST()
110 CHECK(FastFixedDtoa(0.0001, 10, buffer, &length, &point)); in TEST()
112 CHECK_EQ(-3, point); in TEST()
114 CHECK(FastFixedDtoa(0.00001, 10, buffer, &length, &point)); in TEST()
116 CHECK_EQ(-4, point); in TEST()
118 CHECK(FastFixedDtoa(0.000001, 10, buffer, &length, &point)); in TEST()
120 CHECK_EQ(-5, point); in TEST()
122 CHECK(FastFixedDtoa(0.0000001, 10, buffer, &length, &point)); in TEST()
124 CHECK_EQ(-6, point); in TEST()
126 CHECK(FastFixedDtoa(0.00000001, 10, buffer, &length, &point)); in TEST()
128 CHECK_EQ(-7, point); in TEST()
130 CHECK(FastFixedDtoa(0.000000001, 10, buffer, &length, &point)); in TEST()
132 CHECK_EQ(-8, point); in TEST()
134 CHECK(FastFixedDtoa(0.0000000001, 15, buffer, &length, &point)); in TEST()
136 CHECK_EQ(-9, point); in TEST()
138 CHECK(FastFixedDtoa(0.00000000001, 15, buffer, &length, &point)); in TEST()
140 CHECK_EQ(-10, point); in TEST()
142 CHECK(FastFixedDtoa(0.000000000001, 15, buffer, &length, &point)); in TEST()
144 CHECK_EQ(-11, point); in TEST()
146 CHECK(FastFixedDtoa(0.0000000000001, 15, buffer, &length, &point)); in TEST()
148 CHECK_EQ(-12, point); in TEST()
150 CHECK(FastFixedDtoa(0.00000000000001, 15, buffer, &length, &point)); in TEST()
152 CHECK_EQ(-13, point); in TEST()
154 CHECK(FastFixedDtoa(0.000000000000001, 20, buffer, &length, &point)); in TEST()
156 CHECK_EQ(-14, point); in TEST()
158 CHECK(FastFixedDtoa(0.0000000000000001, 20, buffer, &length, &point)); in TEST()
160 CHECK_EQ(-15, point); in TEST()
162 CHECK(FastFixedDtoa(0.00000000000000001, 20, buffer, &length, &point)); in TEST()
164 CHECK_EQ(-16, point); in TEST()
166 CHECK(FastFixedDtoa(0.000000000000000001, 20, buffer, &length, &point)); in TEST()
168 CHECK_EQ(-17, point); in TEST()
170 CHECK(FastFixedDtoa(0.0000000000000000001, 20, buffer, &length, &point)); in TEST()
172 CHECK_EQ(-18, point); in TEST()
174 CHECK(FastFixedDtoa(0.00000000000000000001, 20, buffer, &length, &point)); in TEST()
176 CHECK_EQ(-19, point); in TEST()
178 CHECK(FastFixedDtoa(0.10000000004, 10, buffer, &length, &point)); in TEST()
180 CHECK_EQ(0, point); in TEST()
182 CHECK(FastFixedDtoa(0.01000000004, 10, buffer, &length, &point)); in TEST()
184 CHECK_EQ(-1, point); in TEST()
186 CHECK(FastFixedDtoa(0.00100000004, 10, buffer, &length, &point)); in TEST()
188 CHECK_EQ(-2, point); in TEST()
190 CHECK(FastFixedDtoa(0.00010000004, 10, buffer, &length, &point)); in TEST()
192 CHECK_EQ(-3, point); in TEST()
194 CHECK(FastFixedDtoa(0.00001000004, 10, buffer, &length, &point)); in TEST()
196 CHECK_EQ(-4, point); in TEST()
198 CHECK(FastFixedDtoa(0.00000100004, 10, buffer, &length, &point)); in TEST()
200 CHECK_EQ(-5, point); in TEST()
202 CHECK(FastFixedDtoa(0.00000010004, 10, buffer, &length, &point)); in TEST()
204 CHECK_EQ(-6, point); in TEST()
206 CHECK(FastFixedDtoa(0.00000001004, 10, buffer, &length, &point)); in TEST()
208 CHECK_EQ(-7, point); in TEST()
210 CHECK(FastFixedDtoa(0.00000000104, 10, buffer, &length, &point)); in TEST()
212 CHECK_EQ(-8, point); in TEST()
214 CHECK(FastFixedDtoa(0.0000000001000004, 15, buffer, &length, &point)); in TEST()
216 CHECK_EQ(-9, point); in TEST()
218 CHECK(FastFixedDtoa(0.0000000000100004, 15, buffer, &length, &point)); in TEST()
220 CHECK_EQ(-10, point); in TEST()
222 CHECK(FastFixedDtoa(0.0000000000010004, 15, buffer, &length, &point)); in TEST()
224 CHECK_EQ(-11, point); in TEST()
226 CHECK(FastFixedDtoa(0.0000000000001004, 15, buffer, &length, &point)); in TEST()
228 CHECK_EQ(-12, point); in TEST()
230 CHECK(FastFixedDtoa(0.0000000000000104, 15, buffer, &length, &point)); in TEST()
232 CHECK_EQ(-13, point); in TEST()
234 CHECK(FastFixedDtoa(0.000000000000001000004, 20, buffer, &length, &point)); in TEST()
236 CHECK_EQ(-14, point); in TEST()
238 CHECK(FastFixedDtoa(0.000000000000000100004, 20, buffer, &length, &point)); in TEST()
240 CHECK_EQ(-15, point); in TEST()
242 CHECK(FastFixedDtoa(0.000000000000000010004, 20, buffer, &length, &point)); in TEST()
244 CHECK_EQ(-16, point); in TEST()
246 CHECK(FastFixedDtoa(0.000000000000000001004, 20, buffer, &length, &point)); in TEST()
248 CHECK_EQ(-17, point); in TEST()
250 CHECK(FastFixedDtoa(0.000000000000000000104, 20, buffer, &length, &point)); in TEST()
252 CHECK_EQ(-18, point); in TEST()
254 CHECK(FastFixedDtoa(0.000000000000000000014, 20, buffer, &length, &point)); in TEST()
256 CHECK_EQ(-19, point); in TEST()
258 CHECK(FastFixedDtoa(0.10000000006, 10, buffer, &length, &point)); in TEST()
260 CHECK_EQ(0, point); in TEST()
262 CHECK(FastFixedDtoa(0.01000000006, 10, buffer, &length, &point)); in TEST()
264 CHECK_EQ(-1, point); in TEST()
266 CHECK(FastFixedDtoa(0.00100000006, 10, buffer, &length, &point)); in TEST()
268 CHECK_EQ(-2, point); in TEST()
270 CHECK(FastFixedDtoa(0.00010000006, 10, buffer, &length, &point)); in TEST()
272 CHECK_EQ(-3, point); in TEST()
274 CHECK(FastFixedDtoa(0.00001000006, 10, buffer, &length, &point)); in TEST()
276 CHECK_EQ(-4, point); in TEST()
278 CHECK(FastFixedDtoa(0.00000100006, 10, buffer, &length, &point)); in TEST()
280 CHECK_EQ(-5, point); in TEST()
282 CHECK(FastFixedDtoa(0.00000010006, 10, buffer, &length, &point)); in TEST()
284 CHECK_EQ(-6, point); in TEST()
286 CHECK(FastFixedDtoa(0.00000001006, 10, buffer, &length, &point)); in TEST()
288 CHECK_EQ(-7, point); in TEST()
290 CHECK(FastFixedDtoa(0.00000000106, 10, buffer, &length, &point)); in TEST()
292 CHECK_EQ(-8, point); in TEST()
294 CHECK(FastFixedDtoa(0.0000000001000006, 15, buffer, &length, &point)); in TEST()
296 CHECK_EQ(-9, point); in TEST()
298 CHECK(FastFixedDtoa(0.0000000000100006, 15, buffer, &length, &point)); in TEST()
300 CHECK_EQ(-10, point); in TEST()
302 CHECK(FastFixedDtoa(0.0000000000010006, 15, buffer, &length, &point)); in TEST()
304 CHECK_EQ(-11, point); in TEST()
306 CHECK(FastFixedDtoa(0.0000000000001006, 15, buffer, &length, &point)); in TEST()
308 CHECK_EQ(-12, point); in TEST()
310 CHECK(FastFixedDtoa(0.0000000000000106, 15, buffer, &length, &point)); in TEST()
312 CHECK_EQ(-13, point); in TEST()
314 CHECK(FastFixedDtoa(0.000000000000001000006, 20, buffer, &length, &point)); in TEST()
316 CHECK_EQ(-14, point); in TEST()
318 CHECK(FastFixedDtoa(0.000000000000000100006, 20, buffer, &length, &point)); in TEST()
320 CHECK_EQ(-15, point); in TEST()
322 CHECK(FastFixedDtoa(0.000000000000000010006, 20, buffer, &length, &point)); in TEST()
324 CHECK_EQ(-16, point); in TEST()
326 CHECK(FastFixedDtoa(0.000000000000000001006, 20, buffer, &length, &point)); in TEST()
328 CHECK_EQ(-17, point); in TEST()
330 CHECK(FastFixedDtoa(0.000000000000000000106, 20, buffer, &length, &point)); in TEST()
332 CHECK_EQ(-18, point); in TEST()
334 CHECK(FastFixedDtoa(0.000000000000000000016, 20, buffer, &length, &point)); in TEST()
336 CHECK_EQ(-19, point); in TEST()
338 CHECK(FastFixedDtoa(0.6, 0, buffer, &length, &point)); in TEST()
340 CHECK_EQ(1, point); in TEST()
342 CHECK(FastFixedDtoa(0.96, 1, buffer, &length, &point)); in TEST()
344 CHECK_EQ(1, point); in TEST()
346 CHECK(FastFixedDtoa(0.996, 2, buffer, &length, &point)); in TEST()
348 CHECK_EQ(1, point); in TEST()
350 CHECK(FastFixedDtoa(0.9996, 3, buffer, &length, &point)); in TEST()
352 CHECK_EQ(1, point); in TEST()
354 CHECK(FastFixedDtoa(0.99996, 4, buffer, &length, &point)); in TEST()
356 CHECK_EQ(1, point); in TEST()
358 CHECK(FastFixedDtoa(0.999996, 5, buffer, &length, &point)); in TEST()
360 CHECK_EQ(1, point); in TEST()
362 CHECK(FastFixedDtoa(0.9999996, 6, buffer, &length, &point)); in TEST()
364 CHECK_EQ(1, point); in TEST()
366 CHECK(FastFixedDtoa(0.99999996, 7, buffer, &length, &point)); in TEST()
368 CHECK_EQ(1, point); in TEST()
370 CHECK(FastFixedDtoa(0.999999996, 8, buffer, &length, &point)); in TEST()
372 CHECK_EQ(1, point); in TEST()
374 CHECK(FastFixedDtoa(0.9999999996, 9, buffer, &length, &point)); in TEST()
376 CHECK_EQ(1, point); in TEST()
378 CHECK(FastFixedDtoa(0.99999999996, 10, buffer, &length, &point)); in TEST()
380 CHECK_EQ(1, point); in TEST()
382 CHECK(FastFixedDtoa(0.999999999996, 11, buffer, &length, &point)); in TEST()
384 CHECK_EQ(1, point); in TEST()
386 CHECK(FastFixedDtoa(0.9999999999996, 12, buffer, &length, &point)); in TEST()
388 CHECK_EQ(1, point); in TEST()
390 CHECK(FastFixedDtoa(0.99999999999996, 13, buffer, &length, &point)); in TEST()
392 CHECK_EQ(1, point); in TEST()
394 CHECK(FastFixedDtoa(0.999999999999996, 14, buffer, &length, &point)); in TEST()
396 CHECK_EQ(1, point); in TEST()
398 CHECK(FastFixedDtoa(0.9999999999999996, 15, buffer, &length, &point)); in TEST()
400 CHECK_EQ(1, point); in TEST()
402 CHECK(FastFixedDtoa(0.00999999999999996, 16, buffer, &length, &point)); in TEST()
404 CHECK_EQ(-1, point); in TEST()
406 CHECK(FastFixedDtoa(0.000999999999999996, 17, buffer, &length, &point)); in TEST()
408 CHECK_EQ(-2, point); in TEST()
410 CHECK(FastFixedDtoa(0.0000999999999999996, 18, buffer, &length, &point)); in TEST()
412 CHECK_EQ(-3, point); in TEST()
414 CHECK(FastFixedDtoa(0.00000999999999999996, 19, buffer, &length, &point)); in TEST()
416 CHECK_EQ(-4, point); in TEST()
418 CHECK(FastFixedDtoa(0.000000999999999999996, 20, buffer, &length, &point)); in TEST()
420 CHECK_EQ(-5, point); in TEST()
422 CHECK(FastFixedDtoa(323423.234234, 10, buffer, &length, &point)); in TEST()
424 CHECK_EQ(6, point); in TEST()
426 CHECK(FastFixedDtoa(12345678.901234, 4, buffer, &length, &point)); in TEST()
428 CHECK_EQ(8, point); in TEST()
430 CHECK(FastFixedDtoa(98765.432109, 5, buffer, &length, &point)); in TEST()
432 CHECK_EQ(5, point); in TEST()
434 CHECK(FastFixedDtoa(42, 20, buffer, &length, &point)); in TEST()
436 CHECK_EQ(2, point); in TEST()
438 CHECK(FastFixedDtoa(0.5, 0, buffer, &length, &point)); in TEST()
440 CHECK_EQ(1, point); in TEST()
442 CHECK(FastFixedDtoa(1e-23, 10, buffer, &length, &point)); in TEST()
444 CHECK_EQ(-10, point); in TEST()
446 CHECK(FastFixedDtoa(1e-123, 2, buffer, &length, &point)); in TEST()
448 CHECK_EQ(-2, point); in TEST()
450 CHECK(FastFixedDtoa(1e-123, 0, buffer, &length, &point)); in TEST()
452 CHECK_EQ(0, point); in TEST()
454 CHECK(FastFixedDtoa(1e-23, 20, buffer, &length, &point)); in TEST()
456 CHECK_EQ(-20, point); in TEST()
458 CHECK(FastFixedDtoa(1e-21, 20, buffer, &length, &point)); in TEST()
460 CHECK_EQ(-20, point); in TEST()
462 CHECK(FastFixedDtoa(1e-22, 20, buffer, &length, &point)); in TEST()
464 CHECK_EQ(-20, point); in TEST()
466 CHECK(FastFixedDtoa(6e-21, 20, buffer, &length, &point)); in TEST()
468 CHECK_EQ(-19, point); in TEST()
471 buffer, &length, &point)); in TEST()
473 CHECK_EQ(20, point); in TEST()
476 buffer, &length, &point)); in TEST()
478 CHECK_EQ(-3, point); in TEST()
481 buffer, &length, &point)); in TEST()
483 CHECK_EQ(-8, point); in TEST()
486 buffer, &length, &point)); in TEST()
488 CHECK_EQ(19, point); in TEST()
497 int point; in TEST() local
506 buffer, &length, &point); in TEST()
508 CHECK_EQ(current_test.decimal_point, point); in TEST()
509 CHECK_GE(number_digits, length - point); in TEST()