Home
last modified time | relevance | path

Searched refs:BC_NUM_NONZERO (Results 1 – 3 of 3) sorted by relevance

/external/bc/src/
Dnum.c97 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()
[all …]
Dprogram.c619 if (BC_NUM_NONZERO(&r->d.n)) BC_NUM_NEG_TGL_NP(r->d.n); in bc_program_negate()
/external/bc/include/
Dnum.h128 #define BC_NUM_NONZERO(n) ((n)->len) macro
129 #define BC_NUM_ZERO(n) (!BC_NUM_NONZERO(n))