Searched refs:bc_num_truncate (Results 1 – 5 of 5) sorted by relevance
/external/bc/src/ |
D | num.c | 301 void bc_num_truncate(BcNum *restrict n, size_t places) { in bc_num_truncate() function 362 else bc_num_truncate(n, n->scale - scale); in bc_num_retireMul() 1341 if (c->scale > scale) bc_num_truncate(c, c->scale - scale); in bc_num_p() 1362 if (val < c->scale) bc_num_truncate(c, c->scale - val); in bc_num_place() 1635 bc_num_truncate(&result2, digs); in bc_num_parseBase() 1924 bc_num_truncate(&intp, intp.scale); in bc_num_printNum() 2297 bc_num_truncate(&temp, temp.scale); in bc_num_rng() 2760 if (b->scale > scale) bc_num_truncate(b, b->scale - scale); in bc_num_sqrt()
|
D | program.c | 629 bc_num_truncate(&r->d.n, n->scale); in bc_program_trunc() 1369 bc_num_truncate(&num, num.scale); in bc_program_asciifyNum()
|
D | library.c | 473 else if (scale < nptr->scale) bc_num_truncate(nptr, nptr->scale - scale); in bcl_num_setScale()
|
/external/bc/include/ |
D | num.h | 226 void bc_num_truncate(BcNum *restrict n, size_t places);
|
/external/toybox/toys/pending/ |
D | bc.c | 1230 void bc_num_truncate(BcNum *n, size_t places) { in bc_num_truncate() function 1262 else bc_num_truncate(n, n->rdx - scale); in bc_num_retireMul() 1782 if (c->rdx > scale) bc_num_truncate(c, c->rdx - scale); in bc_num_p() 1974 bc_num_truncate(&intp, intp.rdx); in bc_num_printNum() 2292 if (b->rdx > scale) bc_num_truncate(b, b->rdx - scale); in bc_num_sqrt()
|