Home
last modified time | relevance | path

Searched refs:extra_digits (Results 1 – 11 of 11) sorted by relevance

/netbsd/src/external/gpl3/gcc/dist/libgcc/config/libbid/
Dbid_inline_add.h85 int bin_expon_ca, extra_digits, amount, scale_k, scale_ca; in get_add64() local
240 extra_digits = 1; in get_add64()
242 extra_digits = 2; in get_add64()
244 extra_digits = 3; in get_add64()
257 coefficient_a += round_const_table[rmode][extra_digits]; in get_add64()
261 reciprocals10_64[extra_digits]); in get_add64()
264 amount = short_recip_scale[extra_digits]; in get_add64()
313 extra_digits = diff_dec_expon - scale_k; in get_add64()
320 round_const_table[rmode][extra_digits]; in get_add64()
324 reciprocals10_64[extra_digits]); in get_add64()
[all …]
Dbid32_to_bid128.c83 int exponent_x, extra_digits, amount, bin_expon_cx, uf_check = 0;
127 extra_digits = estimate_decimal_digits[bin_expon_cx] - 7;
133 extra_digits++;
135 exponent_x += extra_digits;
151 if (-extra_digits + exponent_x - DECIMAL_EXPONENT_BIAS_128 +
155 T128 = round_const_table_128[rmode][extra_digits];
159 (CX1, power10_table_128[extra_digits + 7]))
162 extra_digits =
163 extra_digits + DECIMAL_EXPONENT_BIAS_128 -
171 T128 = round_const_table_128[rmode][extra_digits];
[all …]
Dbid64_to_bid128.c81 int exponent_x, extra_digits, amount, bin_expon_cx;
126 extra_digits = estimate_decimal_digits[bin_expon_cx] - 16;
132 extra_digits++;
134 exponent_x += extra_digits;
149 if (-extra_digits + exponent_x - DECIMAL_EXPONENT_BIAS_128 +
153 T128 = round_const_table_128[rmode][extra_digits];
157 (CX1, power10_table_128[extra_digits + 16]))
160 extra_digits =
161 extra_digits + DECIMAL_EXPONENT_BIAS_128 -
169 T128 = round_const_table_128[rmode][extra_digits];
[all …]
Dbid64_mul.c65 int extra_digits, exponent_x, exponent_y, bin_expon_cx, bin_expon_cy, local
202 extra_digits = digits_p - MAX_FORMAT_DIGITS;
204 exponent_x + exponent_y + extra_digits - DECIMAL_EXPONENT_BIAS;
233 __add_128_64 (PU, P, round_const_table[rmode][extra_digits]);
235 (PU, power10_table_128[extra_digits + 16]))
238 extra_digits -= final_exponent;
241 if (extra_digits > 17) {
254 extra_digits -= 16;
266 extra_digits++;
279 if (extra_digits > 0) {
[all …]
Dbid32_to_bid64.c83 int exponent_x, bin_expon_cx, extra_digits, rmode = 0, amount;
122 extra_digits = estimate_decimal_digits[bin_expon_cx] - 7;
125 extra_digits++;
139 exponent_x += extra_digits;
143 if (coefficient_x + round_const_table[rmode][extra_digits] >=
144 power10_table_128[extra_digits + 7].w[0])
146 extra_digits -= exponent_x;
149 coefficient_x += round_const_table[rmode][extra_digits];
151 reciprocals10_64[extra_digits]);
154 amount = short_recip_scale[extra_digits];
[all …]
Dbid64_fma.c75 int extra_digits, exponent_x, exponent_y, bin_expon_cx, bin_expon_cy, local
309 extra_digits = 0;
339 extra_digits = digits_p - MAX_FORMAT_DIGITS;
341 exponent_x + exponent_y + extra_digits - DECIMAL_EXPONENT_BIAS;
367 ey = final_exponent - extra_digits;
368 extra_digits = ez - ey;
369 if (extra_digits > 33) {
377 if (extra_digits > 17) {
384 extra_digits -= 16;
392 power10_table_128[extra_digits].w[0]);
[all …]
Dbid64_add.c131 int bin_expon_ca, extra_digits, amount, scale_k, scale_ca; local
383 extra_digits = 1;
385 extra_digits = 2;
387 extra_digits = 3;
400 coefficient_a += round_const_table[rmode][extra_digits];
404 reciprocals10_64[extra_digits]);
407 amount = short_recip_scale[extra_digits];
446 extra_digits = diff_dec_expon - scale_k;
453 round_const_table[rmode][extra_digits];
457 reciprocals10_64[extra_digits]);
[all …]
Dbid128_quantize.c33 int exponent_x, exponent_y, digits_x, extra_digits, amount; variable
148 extra_digits = -expon_diff;
149 __add_128_128 (CX, CX, round_const_table_128[rmode][extra_digits]);
152 __mul_128x128_to_256 (CT, CX, reciprocals10_128[extra_digits]);
155 amount = recip_scale[extra_digits];
182 && (CT.w[1] < reciprocals10_128[extra_digits].w[1]
183 || (CT.w[1] == reciprocals10_128[extra_digits].w[1]
184 && CT.w[0] < reciprocals10_128[extra_digits].w[0]))) {
207 && (CT.w[1] < reciprocals10_128[extra_digits].w[1]
208 || (CT.w[1] == reciprocals10_128[extra_digits].w[1]
[all …]
Dbid64_quantize.c50 int exponent_x, exponent_y, digits_x, extra_digits, amount, amount2; local
133 extra_digits = -expon_diff;
145 coefficient_x += round_const_table[rmode][extra_digits];
149 reciprocals10_64[extra_digits]);
152 amount = short_recip_scale[extra_digits];
172 if (!remainder_h && (CT.w[0] < reciprocals10_64[extra_digits])) {
187 && (CT.w[0] < reciprocals10_64[extra_digits]))
192 if (!remainder_h && (CT.w[0] < reciprocals10_64[extra_digits]))
199 reciprocals10_64[extra_digits]);
Dbid_internal.h833 int extra_digits, amount, amount2; in get_BID64() local
867 extra_digits = -expon; in get_BID64()
868 coeff += round_const_table[rmode][extra_digits]; in get_BID64()
872 reciprocals10_128[extra_digits]); in get_BID64()
875 amount = recip_scale[extra_digits]; in get_BID64()
894 && (Q_low.w[1] < reciprocals10_128[extra_digits].w[1] in get_BID64()
895 || (Q_low.w[1] == reciprocals10_128[extra_digits].w[1] in get_BID64()
897 reciprocals10_128[extra_digits].w[0]))) { in get_BID64()
917 && (Q_low.w[1] < reciprocals10_128[extra_digits].w[1] in get_BID64()
918 || (Q_low.w[1] == reciprocals10_128[extra_digits].w[1] in get_BID64()
[all …]
Dbid64_sqrt.c222 int digits, scale, exponent_q = 0, exact = 1, amount, extra_digits; in bid64_sqrt() local
393 extra_digits = -exponent_q; in bid64_sqrt()
397 __mul_64x64_to_128 (QH, CS.w[0], reciprocals10_64[extra_digits]); in bid64_sqrt()
400 amount = short_recip_scale[extra_digits]; in bid64_sqrt()
406 if (CS.w[0] != CS0 * power10_table_128[extra_digits].w[0]) in bid64_sqrt()
416 mul_factor *= power10_table_128[extra_digits].w[0]; in bid64_sqrt()