Home
last modified time | relevance | path

Searched refs:BC_BASE_POW (Results 1 – 4 of 4) sorted by relevance

/external/bc/src/
Dnum.c115 assert(((size_t) *n) < BC_BASE_POW); in bc_num_zeroDigits()
135 assert(((BcBigDig) BC_BASE_POW) * 2 == ((BcDig) BC_BASE_POW) * 2); in bc_num_addDigits()
136 assert(a < BC_BASE_POW); in bc_num_addDigits()
137 assert(b < BC_BASE_POW); in bc_num_addDigits()
140 *carry = (a >= BC_BASE_POW); in bc_num_addDigits()
141 if (*carry) a -= BC_BASE_POW; in bc_num_addDigits()
144 assert(a < BC_BASE_POW); in bc_num_addDigits()
151 assert(a < BC_BASE_POW); in bc_num_subDigits()
152 assert(b < BC_BASE_POW); in bc_num_subDigits()
156 if (*carry) a += BC_BASE_POW; in bc_num_subDigits()
[all …]
Dbc_parse.c1086 bc_vm_printf("BC_BASE_POW = %lu\n", (ulong) BC_BASE_POW); in bc_parse_stmt()
/external/bc/include/
Dnum.h65 #define BC_BASE_POW (1000000000) macro
76 #define BC_BASE_POW (10000) macro
Dvm.h171 #define BC_MAX_OBASE ((BcBigDig) (BC_BASE_POW))