Home
last modified time | relevance | path

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

/external/bc/include/
Dnum.h53 #define BC_BASE (10) macro
116 #define BC_NUM_MAX_LBASE (BC_NUM_BIGDIG_C('Z' + BC_BASE + 1))
133 #define BC_NUM_NUM_LETTER(c) ((c) - 'A' + BC_BASE)
/external/bc/src/
Dnum.c99 for (len = 1; i; i /= BC_BASE, ++len); in bc_num_log10()
1480 else pow *= BC_BASE; in bc_num_parseDecimal()
1600 for (exp = 0, pow = 1; exp < len - 1; ++exp, pow *= BC_BASE); in bc_num_printDigits()
1602 for (exp = 0; exp < len; pow /= BC_BASE, ++exp) { in bc_num_printDigits()
1641 buffer[j] = n9 % BC_BASE; in bc_num_printDecimal()
1642 n9 /= BC_BASE; in bc_num_printDecimal()
2060 else if (base == BC_BASE) bc_num_parseDecimal(n, val); in bc_num_parse()
2076 else if (base == BC_BASE) bc_num_printDecimal(n); in bc_num_print()
Dprogram.c1596 BcBigDig val = BC_BASE; in bc_program_init()