Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/bc/src/
H A Dlibrary.c334 bc_num_init(&n, BC_NUM_DEF_SIZE); in bcl_num_create()
930 bc_num_init(&n, BC_NUM_DEF_SIZE); in bcl_parse()
1015 bc_num_init(&b, BC_NUM_DEF_SIZE); in bcl_irand()
1096 bc_num_init(&n, BC_NUM_DEF_SIZE); in bcl_frand()
1132 bc_num_init(&ir, BC_NUM_DEF_SIZE); in bcl_ifrandHelper()
1133 bc_num_init(&fr, BC_NUM_DEF_SIZE); in bcl_ifrandHelper()
1174 bc_num_init(&b, BC_NUM_DEF_SIZE); in bcl_ifrand()
1262 bc_num_init(&n, BC_NUM_DEF_SIZE); in bcl_rand_seed2num()
H A Dlang.c226 bc_num_init(n, BC_NUM_DEF_SIZE); in bc_array_expand()
H A Dnum.c102 req = req >= BC_NUM_DEF_SIZE ? req : BC_NUM_DEF_SIZE; in bc_num_expand()
1172 max = BC_MAX(max, BC_NUM_DEF_SIZE); in bc_num_k()
2289 bc_num_init(&result1, BC_NUM_DEF_SIZE); in bc_num_parseBase()
2290 bc_num_init(&result2, BC_NUM_DEF_SIZE); in bc_num_parseBase()
3023 req = req >= BC_NUM_DEF_SIZE ? req : BC_NUM_DEF_SIZE; in bc_num_init()
3026 if (req != BC_NUM_DEF_SIZE || (num = bc_vm_takeTemp()) == NULL) in bc_num_init()
3045 if (n->cap == BC_NUM_DEF_SIZE) bc_vm_addTemp(n->num); in bc_num_free()
H A Dprogram.c1062 bc_num_init(&res->d.n, BC_NUM_DEF_SIZE); in bc_program_logical()
1691 bc_num_init(n, BC_NUM_DEF_SIZE); in bc_program_call()
1774 bc_num_init(&res->d.n, BC_NUM_DEF_SIZE); in bc_program_return()
2609 if (BC_IS_BC) bc_num_init(&p->last, BC_NUM_DEF_SIZE); in bc_program_init()
/freebsd-13.1/contrib/bc/include/
H A Dnum.h106 #define BC_NUM_DEF_SIZE (8) macro
173 #define BC_NUM_BIGDIG_LOG10 (BC_NUM_DEF_SIZE)
/freebsd-13.1/contrib/bc/
H A DNEWS.md510 `BC_NUM_DEF_SIZE` (32 on 64-bit and 16 on 32-bit) when it is freed, it is added
512 capacity of `BC_NUM_DEF_SIZE` and any `BcNum`'s exist on the list of reusable
515 In order to support these changes, the `BC_NUM_DEF_SIZE` was changed. It used to
521 of `BC_NUM_DEF_SIZE` on 64-bit systems was changed to 32 bytes.
523 On top of that, at least on 64-bit, `BC_NUM_DEF_SIZE` supports numbers with
546 list that had a capacity of `BC_NUM_DEF_SIZE * 2` and reusing them for `BcNum`'s
547 that requested `BC_NUM_DEF_SIZE`. This did reduce the amount of time spent, but
550 had exactly `BC_NUM_DEF_SIZE` capacity spent the smallest amount of time in both
552 `BC_NUM_DEF_SIZE` bigger on 64-bit systems, since the vast majority of numbers
553 will only ever use numbers with a size less than or equal to `BC_NUM_DEF_SIZE`.