Home
last modified time | relevance | path

Searched refs:BC_NUM_ZERO (Results 1 – 2 of 2) sorted by relevance

/external/bc/src/
Dnum.c99 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()
[all …]
/external/bc/include/
Dnum.h129 #define BC_NUM_ZERO(n) (!BC_NUM_NONZERO(n)) macro
149 (BC_NUM_ZERO(n) || BC_NUM_RDX_VAL(n) * BC_BASE_DIGS >= (n)->scale)