Searched refs:BC_NUM_NEG (Results 1 – 4 of 4) sorted by relevance
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()[all …]
419 return BC_NUM_NEG(num) != 0; in bcl_num_neg()
153 #define BC_NUM_NEG(n) ((n)->rdx & ((BcBigDig) 1)) macro
156 #define BC_NUM_NEG(n, neg) ((((ssize_t) (n)) ^ -((ssize_t) (neg))) + (neg)) macro160 #define BC_NUM_CMP_ZERO(a) (BC_NUM_NEG((a)->len != 0, (a)->neg))1177 return BC_NUM_NEG(i + 1, c < 0); in bc_num_compare()1188 if (!a->len) return BC_NUM_NEG(b->len != 0, !b->neg); in bc_num_cmp()1215 if (cmp) return BC_NUM_NEG(cmp, (!a_max) != neg); in bc_num_cmp()1218 if (max_num[i]) return BC_NUM_NEG(1, (!a_max) != neg); in bc_num_cmp()