Searched refs:BC_NUM_DEF_SIZE (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/bc/src/ |
| H A D | library.c | 559 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()
|
| H A D | lang.c | 228 bc_num_init(n, BC_NUM_DEF_SIZE); in bc_array_expand()
|
| H A D | num.c | 115 req = req >= BC_NUM_DEF_SIZE ? req : BC_NUM_DEF_SIZE; in bc_num_expand() 1367 max = BC_MAX(max, BC_NUM_DEF_SIZE); in bc_num_k() 2636 bc_num_init(&result1, BC_NUM_DEF_SIZE); in bc_num_parseBase() 2637 bc_num_init(&result2, BC_NUM_DEF_SIZE); in bc_num_parseBase() 3426 req = req >= BC_NUM_DEF_SIZE ? req : BC_NUM_DEF_SIZE; in bc_num_init() 3429 if (req != BC_NUM_DEF_SIZE) num = bc_vm_malloc(BC_NUM_SIZE(req)); in bc_num_init() 3455 if (n->cap == BC_NUM_DEF_SIZE) bc_vm_addTemp(n->num); in bc_num_free()
|
| H A D | program.c | 1176 bc_num_init(&res->d.n, BC_NUM_DEF_SIZE); in bc_program_logical() 1845 bc_num_init(n, BC_NUM_DEF_SIZE); in bc_program_call() 1932 bc_num_init(&res->d.n, BC_NUM_DEF_SIZE); in bc_program_return() 2030 bc_num_init(&res->d.n, BC_NUM_DEF_SIZE); in bc_program_builtin() 2924 bc_num_init(&p->asciify, BC_NUM_DEF_SIZE); in bc_program_init() 2934 if (BC_IS_BC) bc_num_init(&p->last, BC_NUM_DEF_SIZE); in bc_program_init()
|
| /freebsd/contrib/bc/include/ |
| H A D | num.h | 110 #define BC_NUM_DEF_SIZE (8) macro 177 #define BC_NUM_BIGDIG_LOG10 (BC_NUM_DEF_SIZE)
|
| /freebsd/contrib/bc/ |
| H A D | NEWS.md | 883 `BC_NUM_DEF_SIZE` (32 on 64-bit and 16 on 32-bit) when it is freed, it is added 885 capacity of `BC_NUM_DEF_SIZE` and any `BcNum`'s exist on the list of reusable 888 In order to support these changes, the `BC_NUM_DEF_SIZE` was changed. It used to 894 of `BC_NUM_DEF_SIZE` on 64-bit systems was changed to 32 bytes. 896 On top of that, at least on 64-bit, `BC_NUM_DEF_SIZE` supports numbers with 919 list that had a capacity of `BC_NUM_DEF_SIZE * 2` and reusing them for `BcNum`'s 920 that requested `BC_NUM_DEF_SIZE`. This did reduce the amount of time spent, but 923 had exactly `BC_NUM_DEF_SIZE` capacity spent the smallest amount of time in both 925 `BC_NUM_DEF_SIZE` bigger on 64-bit systems, since the vast majority of numbers 926 will only ever use numbers with a size less than or equal to `BC_NUM_DEF_SIZE`.
|