• Home
  • Raw
  • Download

Lines Matching refs:BC_NUM_NEG

55 	return bc_num_neg((n)->len != 0, BC_NUM_NEG(n));  in bc_num_cmpZero()
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()
259 if (BC_NUM_ZERO(a)) return bc_num_neg(b->len != 0, !BC_NUM_NEG(b)); in bc_num_cmp()
261 if (BC_NUM_NEG(a)) { in bc_num_cmp()
262 if (BC_NUM_NEG(b)) neg = true; in bc_num_cmp()
265 else if (BC_NUM_NEG(b)) return 1; in bc_num_cmp()
586 c->rdx = BC_NUM_NEG_VAL(c, BC_NUM_NEG(b) != sub); in bc_num_as()
592 b_neg = (BC_NUM_NEG(b) != sub); in bc_num_as()
595 do_sub = (BC_NUM_NEG(a) != b_neg); in bc_num_as()
706 c_neg = BC_NUM_NEG(a) != (do_sub && do_rev_sub); in bc_num_as()
783 if ((aone && BC_NUM_NEG(a)) || BC_NUM_NEG(b)) BC_NUM_NEG_TGL(c); in bc_num_k()
914 c->rdx = BC_NUM_NEG_VAL(c, BC_NUM_NEG(a) != BC_NUM_NEG(b)); in bc_num_m()
975 bc_num_retireMul(c, scale, BC_NUM_NEG(a), BC_NUM_NEG(b)); in bc_num_m()
1143 bc_num_retireMul(c, scale, BC_NUM_NEG(a), BC_NUM_NEG(b)); in bc_num_d()
1149 bc_num_retireMul(c, scale, BC_NUM_NEG(a), BC_NUM_NEG(b)); in bc_num_d()
1198 bc_num_retireMul(c, scale, BC_NUM_NEG(a), BC_NUM_NEG(b)); in bc_num_d()
1240 neg = BC_NUM_NEG(d); in bc_num_r()
1241 bc_num_retireMul(d, ts, BC_NUM_NEG(a), BC_NUM_NEG(b)); in bc_num_r()
1288 if (BC_NUM_NEG(b)) bc_vm_err(BC_ERR_MATH_DIVIDE_BY_ZERO); in bc_num_p()
1293 if (!BC_NUM_NEG(b)) bc_num_copy(c, a); in bc_num_p()
1300 neg = BC_NUM_NEG(b); in bc_num_p()
1442 assert(!BC_NUM_NEG(c) || BC_NUM_NONZERO(c)); in bc_num_binary()
1710 if (BC_NUM_NEG(n)) bc_num_putchar('-'); in bc_num_printDecimal()
2040 bool neg = BC_NUM_NEG(n); in bc_num_printBase()
2206 assert(!BC_NUM_NEG(n)); in bc_num_bigdig2()
2241 if (BC_ERR(BC_NUM_NEG(n))) bc_vm_err(BC_ERR_MATH_NEGATIVE); in bc_num_bigdig()
2425 if (BC_ERR(BC_NUM_NEG(a))) bc_vm_err(BC_ERR_MATH_NEGATIVE); in bc_num_irand()
2673 if (BC_ERR(BC_NUM_NEG(a))) bc_vm_err(BC_ERR_MATH_NEGATIVE); in bc_num_sqrt()
2762 assert(!BC_NUM_NEG(b) || BC_NUM_NONZERO(b)); in bc_num_sqrt()
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()
2849 if (BC_ERR(BC_NUM_NEG(b))) bc_vm_err(BC_ERR_MATH_NEGATIVE); in bc_num_modexp()
2903 assert(!BC_NUM_NEG(d) || d->len); in bc_num_modexp()
2943 n->len ? (BC_NUM_NEG(n) ? "-" : "+") : "0 "); in bc_num_dump()