/glibc-2.36/stdlib/ |
D | strtod_l.c | 150 #if BITS_PER_MP_LIMB == 32 153 #elif BITS_PER_MP_LIMB == 64 157 # error "mp_limb_t size " BITS_PER_MP_LIMB "not accounted for" 167 #define RETURN_LIMB_SIZE howmany (MANT_DIG, BITS_PER_MP_LIMB) 178 BITS_PER_MP_LIMB) + 2) 234 round_bit = (MANT_DIG - 1) % BITS_PER_MP_LIMB; in round_and_return() 239 else if (shift >= BITS_PER_MP_LIMB) in round_and_return() 243 round_limb = retval[(shift - 1) / BITS_PER_MP_LIMB]; in round_and_return() 244 round_bit = (shift - 1) % BITS_PER_MP_LIMB; in round_and_return() 245 for (i = 0; i < (shift - 1) / BITS_PER_MP_LIMB; ++i) in round_and_return() [all …]
|
D | tens_in_limb.c | 5 #if BITS_PER_MP_LIMB == 32 8 #elif BITS_PER_MP_LIMB == 64 12 # error "mp_limb_t size " BITS_PER_MP_LIMB "not accounted for" 22 #if BITS_PER_MP_LIMB > 32 28 #if BITS_PER_MP_LIMB > 64
|
D | mod_1.c | 82 r = n1 >> (BITS_PER_MP_LIMB - normalization_steps); in mpn_mod_1() 95 | (n0 >> (BITS_PER_MP_LIMB - normalization_steps))), in mpn_mod_1() 148 r = n1 >> (BITS_PER_MP_LIMB - normalization_steps); in mpn_mod_1() 161 | (n0 >> (BITS_PER_MP_LIMB - normalization_steps))), in mpn_mod_1()
|
D | divmod_1.c | 86 r = n1 >> (BITS_PER_MP_LIMB - normalization_steps); in mpn_divmod_1() 99 | (n0 >> (BITS_PER_MP_LIMB - normalization_steps))), in mpn_divmod_1() 155 r = n1 >> (BITS_PER_MP_LIMB - normalization_steps); in mpn_divmod_1() 168 | (n0 >> (BITS_PER_MP_LIMB - normalization_steps))), in mpn_divmod_1()
|
D | gmp-impl.h | 245 n2 = ((nh) << (BITS_PER_MP_LIMB - (lgup))) + ((nl) >> 1 >> (l - 1));\ 246 n10 = (nl) << (BITS_PER_MP_LIMB - (lgup)); \ 247 n1 = ((mp_limb_signed_t) n10 >> (BITS_PER_MP_LIMB - 1)); \ 266 n1 = ((mp_limb_signed_t) n10 >> (BITS_PER_MP_LIMB - 1)); \ 293 #define W_TYPE_SIZE BITS_PER_MP_LIMB
|
D | fpioconst.c | 30 #if BITS_PER_MP_LIMB == 32 665 #elif BITS_PER_MP_LIMB == 64 1304 # error "mp_limb_t size " BITS_PER_MP_LIMB "not accounted for"
|
D | fpioconst.h | 81 #if BITS_PER_MP_LIMB == 32
|
/glibc-2.36/sysdeps/ieee754/ldbl-128/ |
D | ldbl2mpn.c | 43 #if BITS_PER_MP_LIMB == 32 in __mpn_extract_long_double() 49 #elif BITS_PER_MP_LIMB == 64 in __mpn_extract_long_double() 56 #error "mp_limb size " BITS_PER_MP_LIMB "not accounted for" in __mpn_extract_long_double() 59 #define NUM_LEADING_ZEROS (BITS_PER_MP_LIMB \ in __mpn_extract_long_double() 60 - (LDBL_MANT_DIG - ((N - 1) * BITS_PER_MP_LIMB))) in __mpn_extract_long_double() 82 | (res_ptr[0] >> (BITS_PER_MP_LIMB - cnt)); in __mpn_extract_long_double() 97 res_ptr[0] <<= BITS_PER_MP_LIMB - (NUM_LEADING_ZEROS - cnt); in __mpn_extract_long_double() 100 - (BITS_PER_MP_LIMB - NUM_LEADING_ZEROS) - cnt; in __mpn_extract_long_double() 114 cnt += BITS_PER_MP_LIMB; in __mpn_extract_long_double() 124 | res_ptr[k-l-1] >> (BITS_PER_MP_LIMB - cnt); in __mpn_extract_long_double() [all …]
|
D | mpn2ldbl.c | 35 #if BITS_PER_MP_LIMB == 32 in __mpn_construct_long_double() 41 #elif BITS_PER_MP_LIMB == 64 in __mpn_construct_long_double() 48 #error "mp_limb size " BITS_PER_MP_LIMB "not accounted for" in __mpn_construct_long_double()
|
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm/ |
D | ldbl2mpn.c | 97 #if BITS_PER_MP_LIMB == 32 in __mpn_extract_long_double() 104 #elif BITS_PER_MP_LIMB == 64 in __mpn_extract_long_double() 110 #error "mp_limb size " BITS_PER_MP_LIMB "not accounted for" in __mpn_extract_long_double() 113 #define NUM_LEADING_ZEROS (BITS_PER_MP_LIMB \ in __mpn_extract_long_double() 114 - (LDBL_MANT_DIG - ((N - 1) * BITS_PER_MP_LIMB))) in __mpn_extract_long_double() 139 | (res_ptr[0] >> (BITS_PER_MP_LIMB - cnt)); in __mpn_extract_long_double() 154 res_ptr[0] <<= BITS_PER_MP_LIMB - (NUM_LEADING_ZEROS - cnt); in __mpn_extract_long_double() 157 - (BITS_PER_MP_LIMB - NUM_LEADING_ZEROS) - cnt; in __mpn_extract_long_double() 171 cnt += BITS_PER_MP_LIMB; in __mpn_extract_long_double() 181 | res_ptr[k-l-1] >> (BITS_PER_MP_LIMB - cnt); in __mpn_extract_long_double() [all …]
|
D | mpn2ldbl.c | 44 #if BITS_PER_MP_LIMB == 32 in __mpn_construct_long_double() 52 #elif BITS_PER_MP_LIMB == 64 in __mpn_construct_long_double() 59 #error "mp_limb size " BITS_PER_MP_LIMB "not accounted for" in __mpn_construct_long_double()
|
/glibc-2.36/sysdeps/ieee754/dbl-64/ |
D | dbl2mpn.c | 40 #if BITS_PER_MP_LIMB == 32 in __mpn_extract_double() 44 #elif BITS_PER_MP_LIMB == 64 in __mpn_extract_double() 50 # error "mp_limb size " BITS_PER_MP_LIMB "not accounted for" in __mpn_extract_double() 53 #define NUM_LEADING_ZEROS (BITS_PER_MP_LIMB \ in __mpn_extract_double() 54 - (DBL_MANT_DIG - ((N - 1) * BITS_PER_MP_LIMB))) in __mpn_extract_double() 76 * (res_ptr[0] >> (BITS_PER_MP_LIMB - cnt)); in __mpn_extract_double() 94 res_ptr[0] <<= BITS_PER_MP_LIMB - (NUM_LEADING_ZEROS - cnt); in __mpn_extract_double() 97 - (BITS_PER_MP_LIMB - NUM_LEADING_ZEROS) - cnt; in __mpn_extract_double() 104 - ((N - 1) * BITS_PER_MP_LIMB)); in __mpn_extract_double()
|
D | mpn2dbl.c | 34 #if BITS_PER_MP_LIMB == 32 in __mpn_construct_double() 38 #elif BITS_PER_MP_LIMB == 64 in __mpn_construct_double() 43 # error "mp_limb size " BITS_PER_MP_LIMB "not accounted for" in __mpn_construct_double()
|
/glibc-2.36/stdio-common/ |
D | printf_fp.c | 250 mp_limb_t fp_input[(GREATER_MANT_DIG + BITS_PER_MP_LIMB - 1) in __printf_fp_l() 251 / BITS_PER_MP_LIMB]; in __printf_fp_l() 381 to_shift = 1 + p.fracsize * BITS_PER_MP_LIMB - MANT_DIG; \ in __printf_fp_l() 432 mp_size_t bignum_size = ((abs (p.exponent) + BITS_PER_MP_LIMB - 1) in __printf_fp_l() 433 / BITS_PER_MP_LIMB in __printf_fp_l() 434 + (GREATER_MANT_DIG / BITS_PER_MP_LIMB > 2 in __printf_fp_l() 463 if ((p.exponent + to_shift) % BITS_PER_MP_LIMB == 0) in __printf_fp_l() 465 MPN_COPY_DECR (p.frac + (p.exponent + to_shift) / BITS_PER_MP_LIMB, in __printf_fp_l() 467 p.fracsize += (p.exponent + to_shift) / BITS_PER_MP_LIMB; in __printf_fp_l() 472 + (p.exponent + to_shift) / BITS_PER_MP_LIMB, in __printf_fp_l() [all …]
|
D | _itoa.c | 54 #if BITS_PER_MP_LIMB == 32 83 # if BITS_PER_MP_LIMB == 64 120 # if BITS_PER_MP_LIMB == 32 206 mp_limb_t work_hi = value >> (64 - BITS_PER_MP_LIMB); \ in _itoa() 208 if (BITS_PER_MP_LIMB == 32) \ in _itoa() 216 for (cnt = BITS_PER_MP_LIMB / BITS; cnt > 0; --cnt) \ in _itoa() 221 if (BITS_PER_MP_LIMB % BITS != 0) \ in _itoa() 225 & ((1 << (BITS - BITS_PER_MP_LIMB%BITS)) \ in _itoa() 227 << BITS_PER_MP_LIMB % BITS); \ in _itoa() 228 work_hi >>= BITS - BITS_PER_MP_LIMB % BITS; \ in _itoa() [all …]
|
D | _itowa.c | 54 #if BITS_PER_MP_LIMB == 32 102 mp_limb_t work_hi = value >> (64 - BITS_PER_MP_LIMB); \ in _itowa() 104 if (BITS_PER_MP_LIMB == 32) \ in _itowa() 112 for (cnt = BITS_PER_MP_LIMB / BITS; cnt > 0; --cnt) \ in _itowa() 117 if (BITS_PER_MP_LIMB % BITS != 0) \ in _itowa() 121 & ((1 << (BITS - BITS_PER_MP_LIMB%BITS)) \ in _itowa() 123 << BITS_PER_MP_LIMB % BITS); \ in _itowa() 124 work_hi >>= BITS - BITS_PER_MP_LIMB % BITS; \ in _itowa() 152 # if BITS_PER_MP_LIMB == 64 in _itowa() 179 # if BITS_PER_MP_LIMB == 32 in _itowa()
|
/glibc-2.36/sysdeps/x86/ |
D | ldbl2mpn.c | 41 #if BITS_PER_MP_LIMB == 32 in __mpn_extract_long_double() 45 #elif BITS_PER_MP_LIMB == 64 in __mpn_extract_long_double() 51 #error "mp_limb size " BITS_PER_MP_LIMB "not accounted for" in __mpn_extract_long_double() 72 res_ptr[N - 1] &= ~((mp_limb_t) 1 << ((LDBL_MANT_DIG - 1) % BITS_PER_MP_LIMB)); in __mpn_extract_long_double() 81 | (res_ptr[0] >> (BITS_PER_MP_LIMB - cnt)); in __mpn_extract_long_double() 94 *expt = LDBL_MIN_EXP - 1 - BITS_PER_MP_LIMB - cnt; in __mpn_extract_long_double()
|
/glibc-2.36/sysdeps/ieee754/ldbl-96/ |
D | ldbl2mpn.c | 42 #if BITS_PER_MP_LIMB == 32 in __mpn_extract_long_double() 46 #elif BITS_PER_MP_LIMB == 64 in __mpn_extract_long_double() 52 #error "mp_limb size " BITS_PER_MP_LIMB "not accounted for" in __mpn_extract_long_double() 75 | (res_ptr[0] >> (BITS_PER_MP_LIMB - cnt)); in __mpn_extract_long_double() 88 *expt = LDBL_MIN_EXP - 1 - BITS_PER_MP_LIMB - cnt; in __mpn_extract_long_double()
|
D | mpn2ldbl.c | 35 #if BITS_PER_MP_LIMB == 32 in __mpn_construct_long_double() 38 #elif BITS_PER_MP_LIMB == 64 in __mpn_construct_long_double() 42 #error "mp_limb size " BITS_PER_MP_LIMB "not accounted for" in __mpn_construct_long_double()
|
/glibc-2.36/sysdeps/ieee754/float128/ |
D | mpn2float128.c | 37 #if BITS_PER_MP_LIMB == 32 in __mpn_construct_float128() 43 #elif BITS_PER_MP_LIMB == 64 in __mpn_construct_float128() 50 #error "mp_limb size " BITS_PER_MP_LIMB "not accounted for" in __mpn_construct_float128()
|
/glibc-2.36/sysdeps/ieee754/flt-32/ |
D | mpn2flt.c | 34 #if BITS_PER_MP_LIMB > FLT_MANT_DIG in __mpn_construct_float() 37 #error "mp_limb size " BITS_PER_MP_LIMB "not accounted for" in __mpn_construct_float()
|
/glibc-2.36/sysdeps/generic/ |
D | gmp-mparam.h | 22 #define BITS_PER_MP_LIMB __WORDSIZE macro
|
/glibc-2.36/sysdeps/x86_64/x32/ |
D | gmp-mparam.h | 26 #define BITS_PER_MP_LIMB 64 macro
|
/glibc-2.36/sysdeps/mips/mips64/ |
D | gmp-mparam.h | 25 #define BITS_PER_MP_LIMB 64 macro
|
/glibc-2.36/math/ |
D | atest-exp2.c | 36 #if BITS_PER_MP_LIMB == 64 38 #elif BITS_PER_MP_LIMB == 32
|