Lines Matching refs:point
63 int point; in TEST() local
65 BignumDtoa(1.0, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point); in TEST()
67 CHECK_EQ(1, point); in TEST()
69 BignumDtoa(1.0, BIGNUM_DTOA_FIXED, 3, buffer, &length, &point); in TEST()
70 CHECK_GE(3, length - point); in TEST()
73 CHECK_EQ(1, point); in TEST()
75 BignumDtoa(1.0, BIGNUM_DTOA_PRECISION, 3, buffer, &length, &point); in TEST()
79 CHECK_EQ(1, point); in TEST()
81 BignumDtoa(1.5, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point); in TEST()
83 CHECK_EQ(1, point); in TEST()
85 BignumDtoa(1.5, BIGNUM_DTOA_FIXED, 10, buffer, &length, &point); in TEST()
86 CHECK_GE(10, length - point); in TEST()
89 CHECK_EQ(1, point); in TEST()
91 BignumDtoa(1.5, BIGNUM_DTOA_PRECISION, 10, buffer, &length, &point); in TEST()
95 CHECK_EQ(1, point); in TEST()
98 BignumDtoa(min_double, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point); in TEST()
100 CHECK_EQ(-323, point); in TEST()
102 BignumDtoa(min_double, BIGNUM_DTOA_FIXED, 5, buffer, &length, &point); in TEST()
103 CHECK_GE(5, length - point); in TEST()
107 BignumDtoa(min_double, BIGNUM_DTOA_PRECISION, 5, buffer, &length, &point); in TEST()
111 CHECK_EQ(-323, point); in TEST()
114 BignumDtoa(max_double, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point); in TEST()
116 CHECK_EQ(309, point); in TEST()
118 BignumDtoa(max_double, BIGNUM_DTOA_PRECISION, 7, buffer, &length, &point); in TEST()
122 CHECK_EQ(309, point); in TEST()
124 BignumDtoa(4294967272.0, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point); in TEST()
126 CHECK_EQ(10, point); in TEST()
128 BignumDtoa(4294967272.0, BIGNUM_DTOA_FIXED, 5, buffer, &length, &point); in TEST()
130 CHECK_EQ(10, point); in TEST()
133 BignumDtoa(4294967272.0, BIGNUM_DTOA_PRECISION, 14, buffer, &length, &point); in TEST()
137 CHECK_EQ(10, point); in TEST()
140 buffer, &length, &point); in TEST()
142 CHECK_EQ(299, point); in TEST()
145 buffer, &length, &point); in TEST()
149 CHECK_EQ(299, point); in TEST()
152 buffer, &length, &point); in TEST()
154 CHECK_EQ(-308, point); in TEST()
157 buffer, &length, &point); in TEST()
161 CHECK_EQ(-308, point); in TEST()
164 buffer, &length, &point); in TEST()
166 CHECK_EQ(10, point); in TEST()
170 buffer, &length, &point); in TEST()
171 CHECK_GE(2, length - point); in TEST()
174 CHECK_EQ(10, point); in TEST()
177 buffer, &length, &point); in TEST()
181 CHECK_EQ(10, point); in TEST()
184 buffer, &length, &point); in TEST()
186 CHECK_EQ(299, point); in TEST()
189 buffer, &length, &point); in TEST()
193 CHECK_EQ(299, point); in TEST()
197 BignumDtoa(v, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point); in TEST()
199 CHECK_EQ(-307, point); in TEST()
201 BignumDtoa(v, BIGNUM_DTOA_PRECISION, 20, buffer, &length, &point); in TEST()
205 CHECK_EQ(-307, point); in TEST()
209 BignumDtoa(v, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point); in TEST()
211 CHECK_EQ(-307, point); in TEST()
213 BignumDtoa(v, BIGNUM_DTOA_PRECISION, 20, buffer, &length, &point); in TEST()
217 CHECK_EQ(-307, point); in TEST()
220 buffer, &length, &point); in TEST()
222 CHECK_EQ(-8, point); in TEST()
225 BignumDtoa(v, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point); in TEST()
229 BignumDtoa(v, BIGNUM_DTOA_FIXED, 5, buffer, &length, &point); in TEST()
230 CHECK_GE(5, length - point); in TEST()
235 BignumDtoa(v, BIGNUM_DTOA_PRECISION, 19, buffer, &length, &point); in TEST()
239 CHECK_EQ(-236, point); in TEST()
242 BignumDtoa(v, BIGNUM_DTOA_PRECISION, 4, buffer, &length, &point); in TEST()
246 CHECK_EQ(192, point); in TEST()
249 BignumDtoa(v, BIGNUM_DTOA_FIXED, 1, buffer, &length, &point); in TEST()
250 CHECK_GE(1, length - point); in TEST()
253 CHECK_EQ(18, point); in TEST()
261 int point; in TEST() local
268 BignumDtoa(v, BIGNUM_DTOA_SHORTEST, 0, buffer, &length, &point); in TEST()
269 CHECK_EQ(current_test.decimal_point, point); in TEST()
279 int point; in TEST() local
287 BignumDtoa(v, BIGNUM_DTOA_FIXED, number_digits, buffer, &length, &point); in TEST()
288 CHECK_EQ(current_test.decimal_point, point); in TEST()
289 CHECK_GE(number_digits, length - point); in TEST()
300 int point; in TEST() local
309 buffer, &length, &point); in TEST()
310 CHECK_EQ(current_test.decimal_point, point); in TEST()