Home
last modified time | relevance | path

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

/freebsd/contrib/bc/src/
H A Dnum.c213 assert(((size_t) *n) < BC_BASE_POW); in bc_num_zeroDigits()
319 assert(((BcBigDig) BC_BASE_POW) * 2 == ((BcDig) BC_BASE_POW) * 2); in bc_num_addDigits()
320 assert(a < BC_BASE_POW && a >= 0); in bc_num_addDigits()
321 assert(b < BC_BASE_POW && b >= 0); in bc_num_addDigits()
324 *carry = (a >= BC_BASE_POW); in bc_num_addDigits()
325 if (*carry) a -= BC_BASE_POW; in bc_num_addDigits()
328 assert(a < BC_BASE_POW); in bc_num_addDigits()
344 assert(a < BC_BASE_POW && a >= 0); in bc_num_subDigits()
345 assert(b < BC_BASE_POW && b >= 0); in bc_num_subDigits()
349 if (*carry) a += BC_BASE_POW; in bc_num_subDigits()
[all …]
H A Dbc_parse.c1797 bc_vm_printf("BC_BASE_POW = %lu\n", (ulong) BC_BASE_POW); in bc_parse_stmt()
/freebsd/contrib/bc/include/
H A Dnum.h69 #define BC_BASE_POW (1000000000) macro
90 #define BC_BASE_POW (10000) macro
H A Dvm.h427 #define BC_MAX_OBASE ((BcBigDig) (BC_BASE_POW))