Home
last modified time | relevance | path

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

/external/bc/src/
Dnum.c619 bc_num_extend(BcNum* restrict n, size_t places) in bc_num_extend() function
663 if (n->scale < scale) bc_num_extend(n, scale - n->scale); in bc_num_retireMul()
954 bc_num_extend(n, places_rdx * BC_BASE_DIGS); in bc_num_shiftRight()
1932 bc_num_extend(&cpa, (len - cpa.len) * BC_BASE_DIGS); in bc_num_d()
1939 bc_num_extend(&cpa, b->scale); in bc_num_d()
1947 bc_num_extend(&cpa, scale); in bc_num_d()
2039 if (ts > d->scale && BC_NUM_NONZERO(d)) bc_num_extend(d, ts - d->scale); in bc_num_r()
2228 else if (val > c->scale) bc_num_extend(c, val - c->scale); in bc_num_place()
2694 if (n->scale < digs) bc_num_extend(n, digs - n->scale); in bc_num_parseBase()
4179 bc_num_extend(b, realscale); in bc_num_sqrt()
Dlibrary.c774 bc_num_extend(BCL_NUM_NUM(nptr), scale - BCL_NUM_NUM(nptr)->scale); in bcl_num_setScale()
/external/bc/include/
Dnum.h751 bc_num_extend(BcNum* restrict n, size_t places);
/external/toybox/toys/pending/
Dbc.c1330 static void bc_num_extend(BcNum *n, size_t places) { in bc_num_extend() function
1348 if (n->rdx < scale) bc_num_extend(n, scale - n->rdx); in bc_num_retireMul()
1381 bc_num_extend(n, places - n->rdx); in bc_num_shift()
1529 bc_num_extend(c, subtrahend->rdx - c->rdx); in bc_num_s()
1711 bc_num_extend(&cp, len - cp.len); in bc_num_d()
1714 if (b->rdx > cp.rdx) bc_num_extend(&cp, b->rdx - cp.rdx); in bc_num_d()
1716 if (scale > cp.rdx) bc_num_extend(&cp, scale - cp.rdx); in bc_num_d()
1773 if (ts > d->rdx && d->len) bc_num_extend(d, ts - d->rdx); in bc_num_r()
1974 if (n->rdx < digits) bc_num_extend(n, digits - n->rdx); in bc_num_parseBase()
2305 bc_num_extend(b, scale); in bc_num_sqrt()
[all …]