/haiku-buildtools/gcc/libgcc/config/libbid/ |
H A D | bid128_scalb.c | 37 int exponent_x, rmode; variable 40 if (!unpack_BID128_value (&sign_x, &exponent_x, &CX, x)) { 49 exp64 = (SINT64) exponent_x + (SINT64) n; 52 exponent_x = exp64; 53 get_BID128_very_fast (&res, sign_x, exponent_x, CX); 58 exp64 = (SINT64) exponent_x + (SINT64) n; 59 exponent_x = exp64; 61 if ((UINT32) exponent_x <= MAX_DECIMAL_EXPONENT_128) { 62 get_BID128_very_fast (&res, sign_x, exponent_x, CX); 76 exponent_x [all...] |
H A D | bid64_scalb.c | 47 int exponent_x, rmode; local 58 if (!unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x)) { 67 exp64 = (SINT64) exponent_x + (SINT64) n; 70 exponent_x = exp64; 71 res = very_fast_get_BID64 (sign_x, exponent_x, coefficient_x); // 0 76 exp64 = (SINT64) exponent_x + (SINT64) n; 77 exponent_x = exp64; 79 if ((UINT32) exponent_x <= MAX_DECIMAL_EXPONENT) { 80 res = very_fast_get_BID64 (sign_x, exponent_x, coefficient_x); 90 exponent_x [all...] |
H A D | bid32_to_bid64.c | 33 int exponent_x; 36 if (!unpack_BID32 (&sign_x, &exponent_x, &coefficient_x, x)) { 54 exponent_x + 83 int exponent_x, bin_expon_cx, extra_digits, rmode = 0, amount; 94 if (!unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x)) { 105 exponent_x = 106 exponent_x - DECIMAL_EXPONENT_BIAS + DECIMAL_EXPONENT_BIAS_32; 107 if (exponent_x < 0) 108 exponent_x = 0; 109 if (exponent_x > DECIMAL_MAX_EXPON_3 [all...] |
H A D | bid64_logb.c | 42 int exponent_x, bin_expon_cx, digits; local 48 if (!unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x)) { 65 exponent_x = exponent_x - DECIMAL_EXPONENT_BIAS + digits - 1; 67 BID_RETURN (exponent_x);
|
H A D | bid128_logb.c | 33 int exponent_x, bin_expon_cx, digits; variable 35 if (!unpack_BID128_value (&sign_x, &exponent_x, &CX, x)) { 54 exponent_x = exponent_x - DECIMAL_EXPONENT_BIAS_128 - 1 + digits; 56 BID_RETURN_VAL (exponent_x); variable
|
H A D | bid64_string.c | 47 int istart, exponent_x, j, digits_x, bin_expon_cx; local 61 if (!unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x)) { 92 exponent_x -= 398; 93 if (exponent_x < 0) { 95 exponent_x = -exponent_x; 99 if (exponent_x) { 101 tempx.d = (float) exponent_x; 104 if ((UINT64)exponent_x >= power10_table_128[digits_x].w[0]) 113 while (exponent_x > [all...] |
H A D | bid32_to_bid128.c | 34 int exponent_x; 37 if (!unpack_BID32 (&sign_x, &exponent_x, &coefficient_x, x)) { 55 exponent_x + DECIMAL_EXPONENT_BIAS_128 - 83 int exponent_x, extra_digits, amount, bin_expon_cx, uf_check = 0; 94 if (!unpack_BID128_value (&sign_x, &exponent_x, &CX, x)) { 109 exponent_x = 110 exponent_x - DECIMAL_EXPONENT_BIAS_128 + DECIMAL_EXPONENT_BIAS_32; 111 if (exponent_x < 0) 112 exponent_x = 0; 113 if (exponent_x > DECIMAL_MAX_EXPON_3 [all...] |
H A D | bid64_to_bid128.c | 34 int exponent_x; 37 if (!unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x)) { 53 exponent_x + DECIMAL_EXPONENT_BIAS_128 - 81 int exponent_x, extra_digits, amount, bin_expon_cx; 92 if (!unpack_BID128_value (&sign_x, &exponent_x, &CX, x)) { 107 exponent_x = 108 exponent_x - DECIMAL_EXPONENT_BIAS_128 + DECIMAL_EXPONENT_BIAS; 109 if (exponent_x < 0) { 113 if (exponent_x > DECIMAL_MAX_EXPON_64) 114 exponent_x [all...] |
H A D | bid64_mul.c | 32 * return get_BID64(sign_x^sign_y, exponent_x + exponent_y - dec_bias, 65 int extra_digits, exponent_x, exponent_y, bin_expon_cx, bin_expon_cy, local 78 valid_x = unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x); 124 exponent_x += exponent_y - DECIMAL_EXPONENT_BIAS; 125 if (exponent_x > DECIMAL_MAX_EXPON_64) 126 exponent_x = DECIMAL_MAX_EXPON_64; 127 else if (exponent_x < 0) 128 exponent_x = 0; 129 BID_RETURN ((sign_x ^ sign_y) | (((UINT64) exponent_x) << 53)); 155 exponent_x [all...] |
H A D | bid64_rem.c | 30 * if(exponent_x < exponent_y) 35 * else // exponent_x > exponent_y 68 int exponent_x, exponent_y, bin_expon, e_scale; local 77 valid_x = unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x); 116 if (exponent_y < exponent_x) 117 exponent_x = exponent_y; 119 x = exponent_x; 141 res = very_fast_get_BID64 (sign_x, exponent_x, coefficient_x); 155 diff_expon = exponent_x - exponent_y; 164 // set exponent of y to exponent_x, scal [all...] |
H A D | bid64_sqrt.c | 30 * if(exponent_x is odd) 73 int exponent_x, exponent_q, bin_expon_cx; local 88 if (!unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x)) { 106 exponent_x = (exponent_x + DECIMAL_EXPONENT_BIAS) >> 1; 107 res = sign_x | (((UINT64) exponent_x) << 53); 130 if (exponent_x & 1) { 139 very_fast_get_BID64 (0, (exponent_x + DECIMAL_EXPONENT_BIAS) >> 1, 148 exponent_q = exponent_x - scale; 221 int exponent_x, bin_expon_c local [all...] |
H A D | bid64_fma.c | 75 int extra_digits, exponent_x, exponent_y, bin_expon_cx, bin_expon_cy, local 89 valid_x = unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x); 192 exponent_y = exponent_x - DECIMAL_EXPONENT_BIAS + exponent_y; 235 exponent_y += exponent_x - DECIMAL_EXPONENT_BIAS; 259 exponent_x += exponent_y - DECIMAL_EXPONENT_BIAS; 260 if (exponent_x > DECIMAL_MAX_EXPON_64) 261 exponent_x = DECIMAL_MAX_EXPON_64; 262 else if (exponent_x < 0) 263 exponent_x = 0; 264 if (exponent_x < [all...] |
H A D | bid128_rem.c | 35 int exponent_x, exponent_y, diff_expon, bin_expon_cx, scale, variable 42 if (!unpack_BID128_value (&sign_x, &exponent_x, &CX, x)) { 86 if ((exponent_x > exponent_y) 88 exponent_x = exponent_y; 90 res.w[1] = sign_x | (((UINT64) exponent_x) << 49); 125 diff_expon = exponent_x - exponent_y; 135 // set exponent of y to exponent_x, scale coefficient_y 166 get_BID128_very_fast (&res, sign_x, exponent_x, CR);
|
H A D | bid128_sqrt.c | 40 int exponent_x, bin_expon_cx; variable 47 if (!unpack_BID128_value (&sign_x, &exponent_x, &CX, x)) { 75 ((((UINT64) (exponent_x + DECIMAL_EXPONENT_BIAS_128)) >> 1) << 49); 99 if (exponent_x & 1) { 115 (exponent_x + 131 exponent_q = exponent_x - scale; 303 int exponent_x, bin_expon_cx; 312 if (!unpack_BID64 (&sign_x, &exponent_x, &CX.w[0], x)) { 339 exponent_x = 340 exponent_x [all...] |
H A D | bid64_div.c | 92 int exponent_x, exponent_y, bin_expon_cx; local 109 valid_x = unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x); 161 exponent_x = exponent_x - exponent_y + DECIMAL_EXPONENT_BIAS; 162 if (exponent_x > DECIMAL_MAX_EXPON_64) 163 exponent_x = DECIMAL_MAX_EXPON_64; 164 else if (exponent_x < 0) 165 exponent_x = 0; 166 BID_RETURN ((sign_x ^ sign_y) | (((UINT64) exponent_x) << 53)); 195 diff_expon = exponent_x 527 int exponent_x, exponent_y, bin_index, bin_expon, diff_expon, ed2, local 941 int exponent_x, exponent_y, bin_index, bin_expon, diff_expon, ed2, variable [all...] |
H A D | bid128_div.c | 44 int exponent_x, exponent_y, bin_index, bin_expon, diff_expon, ed2, variable 55 if (!unpack_BID128_value (&sign_x, &exponent_x, &CX, x)) { 104 exponent_x = exponent_x - exponent_y + DECIMAL_EXPONENT_BIAS_128; 105 if (exponent_x > DECIMAL_MAX_EXPON_128) 106 exponent_x = DECIMAL_MAX_EXPON_128; 107 else if (exponent_x < 0) 108 exponent_x = 0; 109 res.w[1] |= (((UINT64) exponent_x) << 49); 146 diff_expon = exponent_x [all...] |
H A D | bid64_add.c | 130 int exponent_x, exponent_y, exponent_a, exponent_b, diff_dec_expon; local 142 valid_x = unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x); 194 if (exponent_y <= exponent_x) { 214 if (exponent_x <= exponent_y) 215 res = ((UINT64) exponent_x) << 53; 227 } else if (exponent_y >= exponent_x) { 233 if (exponent_x < exponent_y) { 238 exponent_b = exponent_x; 242 exponent_a = exponent_x;
|
H A D | bid64_quantize.c | 50 int exponent_x, exponent_y, digits_x, extra_digits, amount, amount2; local 62 valid_x = unpack_BID64 (&sign_x, &exponent_x, &coefficient_x, x); 122 expon_diff = exponent_x - exponent_y;
|
H A D | bid_inline_add.h | 29 * UINT64 sign_x, int exponent_x, UINT64 coefficient_x, 34 * UINT64 sign_x, int exponent_x, UINT64 coefficient_x, 75 get_add64 (UINT64 sign_x, int exponent_x, UINT64 coefficient_x, argument 89 if (exponent_x <= exponent_y) { 94 exponent_b = exponent_x; 98 exponent_a = exponent_x; 805 get_add128 (UINT64 sign_x, int exponent_x, UINT64 coefficient_x, argument 826 if (exponent_x > exponent_y) { 842 exponent_x -= extra_dx; 844 if (exponent_x > exponent_ [all...] |
H A D | bid128_quantize.c | 33 int exponent_x, exponent_y, digits_x, extra_digits, amount; variable 36 valid_x = unpack_BID128_value (&sign_x, &exponent_x, &CX, x); 126 expon_diff = exponent_x - exponent_y;
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/ |
H A D | pr32293.c | 52 int exponent_x = 0; local 54 if (!unpack_BID128 (&sign_x, &exponent_x, &CX, px)) { 58 exponent_x, CX.w[0], _IDEC_glbround, &_IDEC_glbflags);
|