Home
last modified time | relevance | path

Searched refs:BC_NUM_DEF_SIZE (Results 1 – 6 of 6) sorted by relevance

/freebsd-13-stable/contrib/bc/src/
HDlibrary.c559 bc_num_init(BCL_NUM_NUM_NP(n), BC_NUM_DEF_SIZE); in bcl_num_create()
1344 bc_num_init(BCL_NUM_NUM_NP(n), BC_NUM_DEF_SIZE); in bcl_parse()
1448 bc_num_init(BCL_NUM_NUM_NP(b), BC_NUM_DEF_SIZE); in bcl_irand_helper()
1539 bc_num_init(BCL_NUM_NUM_NP(n), BC_NUM_DEF_SIZE); in bcl_frand()
1569 bc_num_init(&ir, BC_NUM_DEF_SIZE); in bcl_ifrandHelper()
1570 bc_num_init(&fr, BC_NUM_DEF_SIZE); in bcl_ifrandHelper()
1611 bc_num_init(BCL_NUM_NUM_NP(b), BC_NUM_DEF_SIZE); in bcl_ifrand_helper()
1737 bc_num_init(BCL_NUM_NUM_NP(n), BC_NUM_DEF_SIZE); in bcl_rand_seed2num()
HDlang.c227 bc_num_init(n, BC_NUM_DEF_SIZE); in bc_array_expand()
HDnum.c115 req = req >= BC_NUM_DEF_SIZE ? req : BC_NUM_DEF_SIZE; in bc_num_expand()
1366 max = BC_MAX(max, BC_NUM_DEF_SIZE); in bc_num_k()
2635 bc_num_init(&result1, BC_NUM_DEF_SIZE); in bc_num_parseBase()
2636 bc_num_init(&result2, BC_NUM_DEF_SIZE); in bc_num_parseBase()
3425 req = req >= BC_NUM_DEF_SIZE ? req : BC_NUM_DEF_SIZE; in bc_num_init()
3428 if (req != BC_NUM_DEF_SIZE) num = bc_vm_malloc(BC_NUM_SIZE(req)); in bc_num_init()
3454 if (n->cap == BC_NUM_DEF_SIZE) bc_vm_addTemp(n->num); in bc_num_free()
HDprogram.c1162 bc_num_init(&res->d.n, BC_NUM_DEF_SIZE); in bc_program_logical()
1831 bc_num_init(n, BC_NUM_DEF_SIZE); in bc_program_call()
1916 bc_num_init(&res->d.n, BC_NUM_DEF_SIZE); in bc_program_return()
2012 bc_num_init(&res->d.n, BC_NUM_DEF_SIZE); in bc_program_builtin()
2897 bc_num_init(&p->asciify, BC_NUM_DEF_SIZE); in bc_program_init()
2907 if (BC_IS_BC) bc_num_init(&p->last, BC_NUM_DEF_SIZE); in bc_program_init()
/freebsd-13-stable/contrib/bc/include/
HDnum.h110 #define BC_NUM_DEF_SIZE (8) macro
177 #define BC_NUM_BIGDIG_LOG10 (BC_NUM_DEF_SIZE)
/freebsd-13-stable/contrib/bc/
HDNEWS.md861 `BC_NUM_DEF_SIZE` (32 on 64-bit and 16 on 32-bit) when it is freed, it is added
863 capacity of `BC_NUM_DEF_SIZE` and any `BcNum`'s exist on the list of reusable
866 In order to support these changes, the `BC_NUM_DEF_SIZE` was changed. It used to
872 of `BC_NUM_DEF_SIZE` on 64-bit systems was changed to 32 bytes.
874 On top of that, at least on 64-bit, `BC_NUM_DEF_SIZE` supports numbers with
897 list that had a capacity of `BC_NUM_DEF_SIZE * 2` and reusing them for `BcNum`'s
898 that requested `BC_NUM_DEF_SIZE`. This did reduce the amount of time spent, but
901 had exactly `BC_NUM_DEF_SIZE` capacity spent the smallest amount of time in both
903 `BC_NUM_DEF_SIZE` bigger on 64-bit systems, since the vast majority of numbers
904 will only ever use numbers with a size less than or equal to `BC_NUM_DEF_SIZE`.