Home
last modified time | relevance | path

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

/external/bc/src/
Dnum.c308 places_rdx = nrdx ? nrdx - BC_NUM_RDX(n->scale - places) : 0; in bc_num_truncate()
343 places_rdx = BC_NUM_RDX(places + n->scale) - nrdx; in bc_num_extend()
355 assert(BC_NUM_RDX_VAL(n) == BC_NUM_RDX(n->scale)); in bc_num_extend()
444 size_t size = bc_vm_growSize(BC_NUM_RDX(places - n->scale), n->len); in bc_num_shiftLeft()
455 places_rdx = BC_NUM_RDX(places); in bc_num_shiftLeft()
487 BC_NUM_RDX_SET(n, BC_NUM_RDX(n->scale)); in bc_num_shiftLeft()
504 bc_num_expand(n, BC_NUM_RDX(n->scale)); in bc_num_shiftRight()
514 places_rdx = BC_NUM_RDX(places); in bc_num_shiftRight()
538 BC_NUM_RDX_SET(n, BC_NUM_RDX(n->scale)); in bc_num_shiftRight()
543 assert(BC_NUM_RDX_VAL(n) == BC_NUM_RDX(n->scale)); in bc_num_shiftRight()
[all …]
Dprogram.c389 bc_num_init(&c->num, BC_NUM_RDX(strlen(c->val))); in bc_program_const()
/external/bc/include/
Dnum.h137 #define BC_NUM_RDX(s) (BC_NUM_ROUND_POW(s) / BC_BASE_DIGS) macro