Home
last modified time | relevance | path

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

/external/bc/include/
Dnum.h131 #define BC_NUM_ONE(n) ((n)->len == 1 && (n)->rdx == 0 && (n)->num[0] == 1) macro
/external/bc/src/
Dnum.c767 bool aone = BC_NUM_ONE(a); in bc_num_k()
774 if (aone || BC_NUM_ONE(b)) { in bc_num_k()
1107 if (BC_NUM_ONE(b)) { in bc_num_d()
1236 if (BC_NUM_ONE(b)) { in bc_num_p()
2237 if (BC_NUM_ONE(a)) { in bc_num_sqrt()
2403 if (BC_NUM_ONE(&temp) && !temp.neg) { in bc_num_modexp()
/external/toybox/toys/pending/
Dbc.c158 #define BC_NUM_ONE(n) ((n)->len == 1 && (n)->rdx == 0 && (n)->num[0] == 1) macro
1459 int aone = BC_NUM_ONE(a); in bc_num_k()
1467 if (aone || BC_NUM_ONE(b)) { in bc_num_k()
1612 if (BC_NUM_ONE(b)) { in bc_num_d()
1729 if (BC_NUM_ONE(b)) { in bc_num_p()
2216 if (BC_NUM_ONE(a)) { in bc_num_sqrt()