Lines Matching full:point
63 int point; in TEST() local
66 DoubleToAscii(0.0, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); in TEST()
68 CHECK_EQ(1, point); in TEST()
70 DoubleToAscii(0.0, DTOA_FIXED, 2, buffer, &sign, &length, &point); in TEST()
73 CHECK_EQ(1, point); in TEST()
75 DoubleToAscii(0.0, DTOA_PRECISION, 3, buffer, &sign, &length, &point); in TEST()
78 CHECK_EQ(1, point); in TEST()
80 DoubleToAscii(1.0, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); in TEST()
82 CHECK_EQ(1, point); in TEST()
84 DoubleToAscii(1.0, DTOA_FIXED, 3, buffer, &sign, &length, &point); in TEST()
85 CHECK_GE(3, length - point); in TEST()
88 CHECK_EQ(1, point); in TEST()
90 DoubleToAscii(1.0, DTOA_PRECISION, 3, buffer, &sign, &length, &point); in TEST()
94 CHECK_EQ(1, point); in TEST()
96 DoubleToAscii(1.5, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); in TEST()
98 CHECK_EQ(1, point); in TEST()
100 DoubleToAscii(1.5, DTOA_FIXED, 10, buffer, &sign, &length, &point); in TEST()
101 CHECK_GE(10, length - point); in TEST()
104 CHECK_EQ(1, point); in TEST()
106 DoubleToAscii(1.5, DTOA_PRECISION, 10, buffer, &sign, &length, &point); in TEST()
110 CHECK_EQ(1, point); in TEST()
113 DoubleToAscii(min_double, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); in TEST()
115 CHECK_EQ(-323, point); in TEST()
117 DoubleToAscii(min_double, DTOA_FIXED, 5, buffer, &sign, &length, &point); in TEST()
118 CHECK_GE(5, length - point); in TEST()
121 CHECK_GE(-5, point); in TEST()
123 DoubleToAscii(min_double, DTOA_PRECISION, 5, buffer, &sign, &length, &point); in TEST()
127 CHECK_EQ(-323, point); in TEST()
130 DoubleToAscii(max_double, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); in TEST()
132 CHECK_EQ(309, point); in TEST()
134 DoubleToAscii(max_double, DTOA_PRECISION, 7, buffer, &sign, &length, &point); in TEST()
138 CHECK_EQ(309, point); in TEST()
140 DoubleToAscii(4294967272.0, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); in TEST()
142 CHECK_EQ(10, point); in TEST()
144 DoubleToAscii(4294967272.0, DTOA_FIXED, 5, buffer, &sign, &length, &point); in TEST()
145 CHECK_GE(5, length - point); in TEST()
148 CHECK_EQ(10, point); in TEST()
152 buffer, &sign, &length, &point); in TEST()
156 CHECK_EQ(10, point); in TEST()
159 buffer, &sign, &length, &point); in TEST()
161 CHECK_EQ(299, point); in TEST()
164 buffer, &sign, &length, &point); in TEST()
168 CHECK_EQ(299, point); in TEST()
171 buffer, &sign, &length, &point); in TEST()
173 CHECK_EQ(-308, point); in TEST()
176 buffer, &sign, &length, &point); in TEST()
180 CHECK_EQ(-308, point); in TEST()
183 buffer, &sign, &length, &point); in TEST()
186 CHECK_EQ(10, point); in TEST()
189 DoubleToAscii(-2147483648.0, DTOA_FIXED, 2, buffer, &sign, &length, &point); in TEST()
190 CHECK_GE(2, length - point); in TEST()
194 CHECK_EQ(10, point); in TEST()
197 buffer, &sign, &length, &point); in TEST()
202 CHECK_EQ(10, point); in TEST()
205 buffer, &sign, &length, &point); in TEST()
208 CHECK_EQ(299, point); in TEST()
211 buffer, &sign, &length, &point); in TEST()
216 CHECK_EQ(299, point); in TEST()
220 DoubleToAscii(v, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); in TEST()
222 CHECK_EQ(-307, point); in TEST()
224 DoubleToAscii(v, DTOA_PRECISION, 20, buffer, &sign, &length, &point); in TEST()
228 CHECK_EQ(-307, point); in TEST()
232 DoubleToAscii(v, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); in TEST()
234 CHECK_EQ(-307, point); in TEST()
236 DoubleToAscii(v, DTOA_PRECISION, 20, buffer, &sign, &length, &point); in TEST()
240 CHECK_EQ(-307, point); in TEST()
243 buffer, &sign, &length, &point); in TEST()
246 CHECK_EQ(-8, point); in TEST()
249 DoubleToAscii(v, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); in TEST()
253 DoubleToAscii(v, DTOA_FIXED, 5, buffer, &sign, &length, &point); in TEST()
254 CHECK_GE(5, length - point); in TEST()
259 DoubleToAscii(v, DTOA_PRECISION, 19, buffer, &sign, &length, &point); in TEST()
263 CHECK_EQ(-236, point); in TEST()
272 int point; in TEST() local
279 DoubleToAscii(v, DTOA_SHORTEST, 0, buffer, &sign, &length, &point); in TEST()
281 CHECK_EQ(current_test.decimal_point, point); in TEST()
292 int point; in TEST() local
300 DoubleToAscii(v, DTOA_FIXED, number_digits, buffer, &sign, &length, &point); in TEST()
302 CHECK_EQ(current_test.decimal_point, point); in TEST()
303 CHECK_GE(number_digits, length - point); in TEST()
315 int point; in TEST() local
324 buffer, &sign, &length, &point); in TEST()
326 CHECK_EQ(current_test.decimal_point, point); in TEST()