Home
last modified time | relevance | path

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

/external/bc/src/
Dnum.c124 assert(((BcBigDig) BC_BASE_POW) * 2 == ((BcDig) BC_BASE_POW) * 2); in bc_num_addDigits()
125 assert(a < BC_BASE_POW); in bc_num_addDigits()
126 assert(b < BC_BASE_POW); in bc_num_addDigits()
129 *carry = (a >= BC_BASE_POW); in bc_num_addDigits()
130 if (*carry) a -= BC_BASE_POW; in bc_num_addDigits()
133 assert(a < BC_BASE_POW); in bc_num_addDigits()
140 assert(a < BC_BASE_POW); in bc_num_subDigits()
141 assert(b < BC_BASE_POW); in bc_num_subDigits()
145 if (*carry) a += BC_BASE_POW; in bc_num_subDigits()
148 assert(a - b < BC_BASE_POW); in bc_num_subDigits()
[all …]
/external/bc/include/
Dnum.h79 #define BC_BASE_POW (1000000000) macro
92 #define BC_BASE_POW (10000) macro
Dvm.h122 #define BC_MAX_OBASE ((ulong) (BC_BASE_POW))
/external/bc/src/bc/
Dparse.c1178 bc_vm_printf("BC_BASE_POW = %lu\n", (ulong) BC_BASE_POW); in bc_parse_stmt()
/external/bc/manuals/
Dbc.md1200 * `BC_BASE_POW`:
1209 The maximum output base. Set at `BC_BASE_POW`.
Dbc.1.ronn1200 * `BC_BASE_POW`:
1209 The maximum output base. Set at `BC_BASE_POW`.