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