Lines Matching refs:BC_NUM_NONZERO
97 while (BC_NUM_NONZERO(n) && !n->num[n->len - 1]) n->len -= 1; in bc_num_clean()
211 assert(!BC_NUM_NEG(c) || BC_NUM_NONZERO(c)); in bc_num_mulArray()
235 assert(!BC_NUM_NEG(c) || BC_NUM_NONZERO(c)); in bc_num_divArray()
314 if (BC_NUM_NONZERO(n)) { in bc_num_truncate()
326 if (BC_NUM_NONZERO(n)) n->num[0] -= n->num[0] % (BcDig) pow; in bc_num_truncate()
365 if (BC_NUM_NONZERO(n)) n->rdx = BC_NUM_NEG_VAL(n, !neg1 != !neg2); in bc_num_retireMul()
551 assert(BC_NUM_NONZERO(a)); in bc_num_inv()
833 if (BC_NUM_NONZERO(&h1) && BC_NUM_NONZERO(&h2)) { in bc_num_k()
845 if (BC_NUM_NONZERO(&l1) && BC_NUM_NONZERO(&l2)) { in bc_num_k()
857 if (BC_NUM_NONZERO(&m1) && BC_NUM_NONZERO(&m2)) { in bc_num_k()
913 if (BC_NUM_NONZERO(c)) in bc_num_m()
1081 for (; i < end && i >= rdx && BC_NUM_NONZERO(a); --i) { in bc_num_d_long()
1238 if (ts > d->scale && BC_NUM_NONZERO(d)) bc_num_extend(d, ts - d->scale); in bc_num_r()
1242 d->rdx = BC_NUM_NEG_VAL(d, BC_NUM_NONZERO(d) ? neg : false); in bc_num_r()
1442 assert(!BC_NUM_NEG(c) || BC_NUM_NONZERO(c)); in bc_num_binary()
1638 if (BC_NUM_NONZERO(n)) { in bc_num_parseBase()
2305 assert(BC_NUM_NONZERO(&vm.max)); in bc_num_rng()
2307 if (BC_NUM_NONZERO(&frac)) { in bc_num_rng()
2321 if (BC_NUM_NONZERO(&intn)) { in bc_num_rng()
2372 assert(BC_NUM_NONZERO(&vm.max)); in bc_num_createFromRNG()
2376 assert(BC_NUM_NONZERO(&vm.max2)); in bc_num_createFromRNG()
2482 assert(BC_NUM_NONZERO(&vm.max)); in bc_num_irand()
2484 while (BC_NUM_NONZERO(c1)) { in bc_num_irand()
2519 if (BC_NUM_NONZERO(c2)) { in bc_num_irand()
2744 assert(BC_NUM_NONZERO(x0)); in bc_num_sqrt()
2762 assert(!BC_NUM_NEG(b) || BC_NUM_NONZERO(b)); in bc_num_sqrt()
2808 if (BC_NUM_NONZERO(a) && !BC_NUM_RDX_VAL(a) && in bc_num_divmod()
2822 assert(!BC_NUM_NEG(c) || BC_NUM_NONZERO(c)); in bc_num_divmod()
2826 assert(!BC_NUM_NEG(d) || BC_NUM_NONZERO(d)); in bc_num_divmod()
2873 while (BC_NUM_NONZERO(&exp)) { in bc_num_modexp()