• Home
  • Raw
  • Download

Lines Matching refs:nrdx

529 	size_t nrdx, places_rdx;  in bc_num_truncate()  local
535 nrdx = BC_NUM_RDX_VAL(n); in bc_num_truncate()
536 places_rdx = nrdx ? nrdx - BC_NUM_RDX(n->scale - places) : 0; in bc_num_truncate()
542 BC_NUM_RDX_SET(n, nrdx - places_rdx); in bc_num_truncate()
572 size_t nrdx, places_rdx; in bc_num_extend() local
585 nrdx = BC_NUM_RDX_VAL(n); in bc_num_extend()
586 places_rdx = BC_NUM_RDX(places + n->scale) - nrdx; in bc_num_extend()
600 BC_NUM_RDX_SET(n, nrdx + places_rdx); in bc_num_extend()
807 size_t nrdx = BC_NUM_RDX_VAL(n); in bc_num_shiftLeft() local
810 if (nrdx >= places_rdx) in bc_num_shiftLeft()
825 else places_rdx -= nrdx; in bc_num_shiftLeft()
2843 size_t places, mod, nrdx = BC_NUM_RDX_VAL(n); in bc_num_printExponent() local
2844 bool neg = (n->len <= nrdx); in bc_num_printExponent()
2877 places += (nrdx - (idx + 1)) * BC_BASE_DIGS; in bc_num_printExponent()
3061 size_t i, j, nrdx, idigits; in bc_num_printNum() local
3115 nrdx = BC_NUM_RDX_VAL(n); in bc_num_printNum()
3121 bc_num_init(&fracp1, nrdx); in bc_num_printNum()
3226 bc_num_init(&fracp2, nrdx); in bc_num_printNum()
3253 nrdx = BC_NUM_RDX_VAL_NP(fracp2); in bc_num_printNum()
3256 if (fracp2.len < nrdx) fracp2.len = nrdx; in bc_num_printNum()
3555 size_t nrdx = BC_NUM_RDX_VAL(n); in bc_num_bigdig2() local
3560 assert(n->len - nrdx <= 3); in bc_num_bigdig2()
3564 switch (n->len - nrdx) in bc_num_bigdig2()
3568 r = (BcBigDig) n->num[nrdx + 2]; in bc_num_bigdig2()
3576 r = r * BC_BASE_POW + (BcBigDig) n->num[nrdx + 1]; in bc_num_bigdig2()
3584 r = r * BC_BASE_POW + (BcBigDig) n->num[nrdx]; in bc_num_bigdig2()
3645 size_t nrdx = BC_NUM_RDX_VAL(n); in bc_num_rng() local
3659 bc_num_init(&frac, nrdx); in bc_num_rng()
3669 memcpy(frac.num, n->num, BC_NUM_SIZE(nrdx)); in bc_num_rng()
3670 frac.len = nrdx; in bc_num_rng()
3671 BC_NUM_RDX_SET_NP(frac, nrdx); in bc_num_rng()
3685 memcpy(intn.num, n->num + nrdx, BC_NUM_SIZE(bc_num_int(n))); in bc_num_rng()