Lines Matching refs:BC_NUM_ZERO
99 if (BC_NUM_ZERO(n)) n->rdx = 0; in bc_num_clean()
259 if (BC_NUM_ZERO(a)) return bc_num_neg(b->len != 0, !BC_NUM_NEG(b)); in bc_num_cmp()
260 if (BC_NUM_ZERO(b)) return bc_num_cmpZero(a); in bc_num_cmp()
309 assert(places <= n->scale && (BC_NUM_ZERO(n) || places_rdx <= n->len)); in bc_num_truncate()
337 if (BC_NUM_ZERO(n)) { in bc_num_extend()
371 assert(BC_NUM_ZERO(a)); in bc_num_split()
372 assert(BC_NUM_ZERO(b)); in bc_num_split()
399 assert(!BC_NUM_RDX_VAL(n) || BC_NUM_ZERO(n)); in bc_num_shiftZero()
447 if (BC_NUM_ZERO(n)) { in bc_num_shiftLeft()
502 if (BC_NUM_ZERO(n)) { in bc_num_shiftRight()
580 if (BC_NUM_ZERO(b)) { in bc_num_as()
584 if (BC_NUM_ZERO(a)) { in bc_num_as()
778 assert(BC_NUM_ZERO(c)); in bc_num_k()
780 if (BC_NUM_ZERO(a) || BC_NUM_ZERO(b)) return; in bc_num_k()
1136 if (BC_NUM_ZERO(b)) bc_vm_err(BC_ERR_MATH_DIVIDE_BY_ZERO); in bc_num_d()
1137 if (BC_NUM_ZERO(a)) { in bc_num_d()
1213 if (BC_NUM_ZERO(b)) bc_vm_err(BC_ERR_MATH_DIVIDE_BY_ZERO); in bc_num_r()
1214 if (BC_NUM_ZERO(a)) { in bc_num_r()
1283 if (BC_NUM_ZERO(b)) { in bc_num_p()
1287 if (BC_NUM_ZERO(a)) { in bc_num_p()
1385 if (BC_NUM_ZERO(c)) return; in bc_num_right()
1873 if (BC_NUM_ZERO(n)) { in bc_num_printNum()
2141 if (BC_NUM_ZERO(n)) return n->scale ? n->scale : 1; in bc_num_len()
2184 if (BC_NUM_ZERO(n)) bc_num_printHex(0, 1, false); in bc_num_print()
2427 if (BC_NUM_ZERO(a) || BC_NUM_ONE(a)) return; in bc_num_irand()
2690 if (BC_NUM_ZERO(a)) { in bc_num_sqrt()
2848 if (BC_ERR(BC_NUM_ZERO(c))) bc_vm_err(BC_ERR_MATH_DIVIDE_BY_ZERO); in bc_num_modexp()