/glibc-2.36/stdio-common/ |
D | _itowa.c | 50 mp_limb_t base_multiplier; 59 mp_limb_t base PACK; 61 mp_limb_t base_ninv PACK; 102 mp_limb_t work_hi = value >> (64 - BITS_PER_MP_LIMB); \ in _itowa() 108 mp_limb_t work_lo; \ in _itowa() 153 mp_limb_t base_multiplier = brec->base_multiplier; in _itowa() 157 mp_limb_t quo, rem, x; in _itowa() 158 mp_limb_t dummy __attribute__ ((unused)); in _itowa() 169 mp_limb_t quo, rem, x; in _itowa() 170 mp_limb_t dummy __attribute__ ((unused)); in _itowa() [all …]
|
D | _itoa.c | 50 mp_limb_t base_multiplier; 59 mp_limb_t base PACK; 61 mp_limb_t base_ninv PACK; 206 mp_limb_t work_hi = value >> (64 - BITS_PER_MP_LIMB); \ in _itoa() 212 mp_limb_t work_lo; \ in _itoa() 258 mp_limb_t base_multiplier = brec->base_multiplier; in _itoa() 262 mp_limb_t quo, rem, x; in _itoa() 263 mp_limb_t dummy __attribute__ ((unused)); in _itoa() 274 mp_limb_t quo, rem, x; in _itoa() 275 mp_limb_t dummy __attribute__ ((unused)); in _itoa() [all …]
|
D | printf_fp.c | 133 #define MPN_VAR(name) mp_limb_t *name; mp_size_t name##size 136 memcpy (dst, src, (dst##size = src##size) * sizeof (mp_limb_t)) 171 mp_limb_t hi; in hack_digit() 204 mp_limb_t _cy = __mpn_mul_1 (p->frac, p->frac, p->fracsize, 10); in hack_digit() 250 mp_limb_t fp_input[(GREATER_MANT_DIG + BITS_PER_MP_LIMB - 1) in __printf_fp_l() 263 mp_limb_t cy; in __printf_fp_l() 436 * sizeof (mp_limb_t); in __printf_fp_l() 437 p.frac = (mp_limb_t *) alloca (bignum_size); in __printf_fp_l() 438 p.tmp = (mp_limb_t *) alloca (bignum_size); in __printf_fp_l() 439 p.scale = (mp_limb_t *) alloca (bignum_size); in __printf_fp_l() [all …]
|
/glibc-2.36/stdlib/ |
D | gmp.h | 52 typedef unsigned int mp_limb_t; typedef 56 typedef unsigned long long int mp_limb_t; typedef 59 typedef unsigned long int mp_limb_t; typedef 64 typedef mp_limb_t * mp_ptr; 65 typedef __gmp_const mp_limb_t * mp_srcptr; 78 mp_limb_t *_mp_d; /* Pointer to the limbs. */ 89 mp_limb_t *_mp_d; /* Pointer to the limbs. */ 135 mp_limb_t *_mp_d; /* Pointer to the limbs. */ 217 mp_limb_t mpz_getlimbn _PROTO ((mpz_srcptr, mp_size_t)); 392 mp_limb_t mpn_add _PROTO ((mp_ptr, mp_srcptr, mp_size_t, mp_srcptr,mp_size_t)); [all …]
|
D | divrem.c | 42 mp_limb_t 47 mp_limb_t most_significant_q_limb = 0; in mpn_divrem() 59 mp_limb_t n1; in mpn_divrem() 60 mp_limb_t d; in mpn_divrem() 86 mp_limb_t n1, n0, n2; in mpn_divrem() 87 mp_limb_t d1, d0; in mpn_divrem() 103 mp_limb_t q; in mpn_divrem() 104 mp_limb_t r; in mpn_divrem() 116 q = ~(mp_limb_t) 0; in mpn_divrem() 158 mp_limb_t dX, d1, n0; in mpn_divrem() [all …]
|
D | strtod_l.c | 160 extern const mp_limb_t _tens_in_limb[MAX_DIG_PER_LIMB + 1]; 180 #define MPN_VAR(name) mp_limb_t name[MPNSIZE]; mp_size_t name##size 183 memcpy (dst, src, (dst##size = src##size) * sizeof (mp_limb_t)) 213 round_and_return (mp_limb_t *retval, intmax_t exponent, int negative, in round_and_return() 214 mp_limb_t round_limb, mp_size_t round_bit, int more_bits) in round_and_return() 226 more_bits |= (round_limb & ((((mp_limb_t) 1) << round_bit) - 1)) != 0; in round_and_return() 247 more_bits |= ((round_limb & ((((mp_limb_t) 1) << round_bit) - 1)) in round_and_return() 268 mp_limb_t retval_normal[RETURN_LIMB_SIZE]; in round_and_return() 272 & (((mp_limb_t) 1) << round_bit)) != 0, in round_and_return() 275 & ((((mp_limb_t) 1) << round_bit) - 1)) in round_and_return() [all …]
|
D | mod_1.c | 39 mp_limb_t 41 mp_limb_t divisor_limb) in mpn_mod_1() 44 mp_limb_t n1, n0, r; in mpn_mod_1() 45 mp_limb_t dummy __attribute__ ((unused)); in mpn_mod_1() 66 mp_limb_t divisor_limb_inverted; in mpn_mod_1() 76 divisor_limb_inverted = ~(mp_limb_t) 0; in mpn_mod_1() 106 mp_limb_t divisor_limb_inverted; in mpn_mod_1() 114 divisor_limb_inverted = ~(mp_limb_t) 0; in mpn_mod_1()
|
D | divmod_1.c | 42 mp_limb_t 45 mp_limb_t divisor_limb) in mpn_divmod_1() 48 mp_limb_t n1, n0, r; in mpn_divmod_1() 49 mp_limb_t dummy __attribute__ ((unused)); in mpn_divmod_1() 70 mp_limb_t divisor_limb_inverted; in mpn_divmod_1() 80 divisor_limb_inverted = ~(mp_limb_t) 0; in mpn_divmod_1() 110 mp_limb_t divisor_limb_inverted; in mpn_divmod_1() 118 divisor_limb_inverted = ~(mp_limb_t) 0; in mpn_divmod_1()
|
D | gmp-impl.h | 196 mp_limb_t big_base; 201 mp_limb_t big_base_inverted; 214 mp_limb_t _ql __attribute__ ((unused)); \ 215 mp_limb_t _q, _r; \ 216 mp_limb_t _xh, _xl; \ 243 mp_limb_t n2, n10, n1, nadj, q1; \ 244 mp_limb_t _xh, _xl; \ 262 mp_limb_t n2, n10, n1, nadj, q1; \ 263 mp_limb_t _xh, _xl; \ 291 typedef mp_limb_t UWtype;
|
D | submul_1.c | 28 mp_limb_t 30 mp_size_t s1_size, register mp_limb_t s2_limb) in mpn_submul_1() 32 register mp_limb_t cy_limb; in mpn_submul_1() 34 register mp_limb_t prod_high, prod_low; in mpn_submul_1() 35 register mp_limb_t x; in mpn_submul_1()
|
D | addmul_1.c | 28 mp_limb_t 30 mp_size_t s1_size, register mp_limb_t s2_limb) in mpn_addmul_1() 32 register mp_limb_t cy_limb; in mpn_addmul_1() 34 register mp_limb_t prod_high, prod_low; in mpn_addmul_1() 35 register mp_limb_t x; in mpn_addmul_1()
|
D | mul_1.c | 26 mp_limb_t 28 mp_size_t s1_size, register mp_limb_t s2_limb) in mpn_mul_1() 30 register mp_limb_t cy_limb; in mpn_mul_1() 32 register mp_limb_t prod_high, prod_low; in mpn_mul_1()
|
D | mul_n.c | 55 mp_limb_t cy_limb; in impn_mul_n_basecase() 56 mp_limb_t v_limb; in impn_mul_n_basecase() 111 mp_limb_t cy_limb; in impn_mul_n() 138 mp_limb_t cy; in impn_mul_n() 208 mp_limb_t cy_limb; in impn_sqr_n_basecase() 209 mp_limb_t v_limb; in impn_sqr_n_basecase() 264 mp_limb_t cy_limb; in impn_sqr_n() 276 mp_limb_t cy; in impn_sqr_n()
|
D | mul.c | 44 mp_limb_t 50 mp_limb_t cy; in mpn_mul() 63 mp_limb_t cy_limb; in mpn_mul() 64 mp_limb_t v_limb; in mpn_mul()
|
D | lshift.c | 33 mp_limb_t 38 register mp_limb_t high_limb, low_limb; in mpn_lshift() 41 mp_limb_t retval; in mpn_lshift()
|
D | rshift.c | 35 mp_limb_t 40 register mp_limb_t high_limb, low_limb; in mpn_rshift() 43 mp_limb_t retval; in mpn_rshift()
|
D | add_n.c | 24 mp_limb_t 27 register mp_limb_t x, y, cy; in mpn_add_n()
|
D | sub_n.c | 24 mp_limb_t 27 register mp_limb_t x, y, cy; in mpn_sub_n()
|
/glibc-2.36/math/ |
D | atest-exp.c | 31 #define mpbpl (CHAR_BIT * sizeof (mp_limb_t)) 33 typedef mp_limb_t mp1[SZ], mp2[SZ * 2]; 42 print_mpn_hex (const mp_limb_t *x, unsigned size) in print_mpn_hex() 63 mp_limb_t chk __attribute__ ((unused)); in exp_mpn() 68 xp[FRAC / mpbpl] = (mp_limb_t)1 << FRAC % mpbpl; in exp_mpn() 70 tol[(FRAC - TOL) / mpbpl] = (mp_limb_t)1 << (FRAC - TOL) % mpbpl; in exp_mpn() 91 mpn_bitsize(const mp_limb_t *SRC_PTR, mp_size_t SIZE) in mpn_bitsize() 98 if ((SRC_PTR[i] & (mp_limb_t)1 << j) != 0) in mpn_bitsize() 120 xt[(FRAC - N2) / mpbpl] = (mp_limb_t)1 << (FRAC - N2) % mpbpl; in do_test() 132 e2[j] = (mp_limb_t) de2; in do_test() [all …]
|
D | atest-exp2.c | 32 #define mpbpl (CHAR_BIT * sizeof (mp_limb_t)) 34 typedef mp_limb_t mp1[SZ], mp2[SZ * 2]; 61 print_mpn_fp (const mp_limb_t *x, unsigned int dp, unsigned int base) in print_mpn_fp() 89 mp_limb_t chk __attribute__ ((unused)); in exp_mpn() 94 xp[FRAC / mpbpl] = (mp_limb_t)1 << FRAC % mpbpl; in exp_mpn() 96 tol[(FRAC - TOL) / mpbpl] = (mp_limb_t)1 << (FRAC - TOL) % mpbpl; in exp_mpn() 128 mpn_bitsize(const mp_limb_t *SRC_PTR, mp_size_t SIZE) in mpn_bitsize() 135 if ((SRC_PTR[i] & (mp_limb_t)1 << j) != 0) in mpn_bitsize() 157 xt[(FRAC - N2) / mpbpl] = (mp_limb_t)1 << (FRAC - N2) % mpbpl; in do_test() 169 e2[j] = (mp_limb_t) de2; in do_test() [all …]
|
D | atest-sincos.c | 31 #define mpbpl (CHAR_BIT * sizeof (mp_limb_t)) 33 typedef mp_limb_t mp1[SZ], mp2[SZ * 2]; 45 print_mpn_hex (const mp_limb_t *x, unsigned size) in print_mpn_hex() 130 mpn_bitsize (const mp_limb_t *SRC_PTR, mp_size_t SIZE) in mpn_bitsize() 137 if ((SRC_PTR[i] & (mp_limb_t)1 << j) != 0) in mpn_bitsize() 160 xt[(FRAC - N2) / mpbpl] = (mp_limb_t)1 << (FRAC - N2) % mpbpl; in do_test() 174 s2[j] = (mp_limb_t) ds2; in do_test() 176 c2[j] = (mp_limb_t) dc2; in do_test() 236 x[FRAC / mpbpl] = (mp_limb_t)1 << FRAC % mpbpl; in do_test() 243 s2[(FRAC - i * 4 - 4) / mpbpl] |= ((mp_limb_t) (strchr (hexdig, sin1[i]) in do_test() [all …]
|
/glibc-2.36/sysdeps/ieee754/ldbl-128/ |
D | mpn2ldbl.c | 39 u.ieee.mantissa0 = frac_ptr[3] & (((mp_limb_t) 1 in __mpn_construct_long_double() 42 u.ieee.mantissa3 = frac_ptr[0] & (((mp_limb_t) 1 << 32) - 1); in __mpn_construct_long_double() 44 u.ieee.mantissa1 = frac_ptr[1] & (((mp_limb_t) 1 << 32) - 1); in __mpn_construct_long_double() 45 u.ieee.mantissa0 = (frac_ptr[1] >> 32) & (((mp_limb_t) 1 in __mpn_construct_long_double()
|
D | ldbl2mpn.c | 52 res_ptr[0] = ((mp_limb_t) u.ieee.mantissa2 << 32) | u.ieee.mantissa3; in __mpn_extract_long_double() 53 res_ptr[1] = ((mp_limb_t) u.ieee.mantissa0 << 32) | u.ieee.mantissa1; in __mpn_extract_long_double() 136 res_ptr[N - 1] |= (mp_limb_t) 1 << (LDBL_MANT_DIG - 1 in __mpn_extract_long_double()
|
/glibc-2.36/sysdeps/ieee754/float128/ |
D | mpn2float128.c | 41 u.ieee.mantissa0 = frac_ptr[3] & (((mp_limb_t) 1 in __mpn_construct_float128() 44 u.ieee.mantissa3 = frac_ptr[0] & (((mp_limb_t) 1 << 32) - 1); in __mpn_construct_float128() 46 u.ieee.mantissa1 = frac_ptr[1] & (((mp_limb_t) 1 << 32) - 1); in __mpn_construct_float128() 47 u.ieee.mantissa0 = (frac_ptr[1] >> 32) & (((mp_limb_t) 1 in __mpn_construct_float128()
|
/glibc-2.36/sysdeps/ieee754/dbl-64/ |
D | mpn2dbl.c | 36 u.ieee.mantissa0 = frac_ptr[1] & (((mp_limb_t) 1 in __mpn_construct_double() 39 u.ieee.mantissa1 = frac_ptr[0] & (((mp_limb_t) 1 << 32) - 1); in __mpn_construct_double() 40 u.ieee.mantissa0 = (frac_ptr[0] >> 32) & (((mp_limb_t) 1 in __mpn_construct_double()
|