Home
last modified time | relevance | path

Searched refs:mpbpl (Results 1 – 3 of 3) sorted by relevance

/glibc-2.36/math/
Datest-exp.c31 #define mpbpl (CHAR_BIT * sizeof (mp_limb_t)) macro
32 #define SZ (FRAC / mpbpl + 1)
46 const unsigned final = (size * 4 > SZ * mpbpl) ? SZ * mpbpl / 4 : size; in print_mpn_hex()
51 value[size - 1 - i] = hexdig[x[i * 4 / mpbpl] >> (i * 4) % mpbpl & 0xf]; in print_mpn_hex()
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()
81 mpn_divmod_1 (xp, tmp + FRAC / mpbpl, SZ, n); in exp_mpn()
97 for (j = mpbpl - 1; j >= 0; j--) in mpn_bitsize()
101 return i * mpbpl + j; in mpn_bitsize()
113 const double sf = pow (2, mpbpl); in do_test()
[all …]
Datest-sincos.c31 #define mpbpl (CHAR_BIT * sizeof (mp_limb_t)) macro
32 #define SZ (FRAC / mpbpl + 1)
49 const unsigned final = (size * 4 > SZ * mpbpl) ? SZ * mpbpl / 4 : size; in print_mpn_hex()
54 value[size-1-i] = hexdig[x[i * 4 / mpbpl] >> (i * 4) % mpbpl & 0xf]; in print_mpn_hex()
83 assert (sh < mpbpl); \ in sincosx_mpn()
86 mpn_sub_n (tmp,tmp,s2+FRAC/mpbpl,SZ); \ in sincosx_mpn()
88 mpn_add_n (tmp,tmp,s2+FRAC/mpbpl,SZ); \ in sincosx_mpn()
91 mpn_sub_n (tmp,s1,s2+FRAC/mpbpl,SZ); \ in sincosx_mpn()
93 mpn_add_n (tmp,s1,s2+FRAC/mpbpl,SZ); \ in sincosx_mpn()
98 assert(N+sh < mpbpl); \ in sincosx_mpn()
[all …]
Datest-exp2.c32 #define mpbpl (CHAR_BIT * sizeof (mp_limb_t)) macro
33 #define SZ (FRAC / mpbpl + 1)
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()
107 mpn_divmod_1 (xp, tmp + FRAC / mpbpl, SZ, n); in exp_mpn()
123 exp_mpn (ex, tmp + FRAC / mpbpl); in exp2_mpn()
134 for (j = mpbpl - 1; j >= 0; --j) in mpn_bitsize()
138 return i * mpbpl + j; in mpn_bitsize()
150 const double sf = pow (2, mpbpl); in do_test()
153 assert(FRAC / mpbpl * mpbpl == FRAC); in do_test()
[all …]