Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-12 | bc: fix previous patch | Gavin Howard | |
I put the check into the wrong if. That was my bad. Again. | |||
2019-06-11 | bc: fix a bug in power | Gavin Howard | |
This bug is that an error should be returned when the user tries to take 0 to a negative power, since that is undefined, but bc would return 0. | |||
2019-03-25 | Fix bc_vec_concat | Daniel Rosenberg | |
BcVec contains the null at the end, so v->len is greater than strlen(v->v) by one. | |||
2019-03-16 | bc: fix an overflow bug in bc_num_ulong() | Gavin Howard | |
2019-02-11 | Inline more functions only called once, unwrap wrappers, etc. | Rob Landley | |
2019-02-10 | Remove unnecessary macros and typedefs, multipliation by sizeof(char), etc. | Rob Landley | |
2019-02-10 | Inline more macros only used once, replace BcId with struct str_len from lib, | Rob Landley | |
remove more unnecessary typecasts. | |||
2019-02-09 | Remove more unnecessary macros. Inline bc_parse_exprs[] with the bit order | Rob Landley | |
reversed so the mask is 1<<(x&7) instead of 1<<(7-(x&7)). Can't _quite_ make printString() use unescape() out of lib because \q is a thing? | |||
2019-02-09 | Remove more useless typecasts, wrappers, and inline a function. | Rob Landley | |
2019-02-09 | Remove some unnecessary wrappers, indirection, and typecasts. | Rob Landley | |
2019-01-28 | bc: Update to upstream version 1.1.0 | Gavin Howard | |
2018-11-17 | Remove the "const" and "restrict" nonsense so it compiles without tainting lib.c | Rob Landley | |
2018-11-17 | Update bc for 1.1 release | Gavin Howard | |
2018-08-08 | Add bc (and its tests) to pending | Gavin Howard | |
2018-03-18 | The author of that bc.c says it won't be ready for 6 months and I'm not | Rob Landley | |
to touch it in the meantime, so no point having it in pending. | |||
2018-03-12 | bc cleanup: a few obvious inlines. | Rob Landley | |
Inline #define bcg TT (from generated/globals.h) Inline BC_FLAG with FLAG_ values from generated/flags.h. Replace BC_MAX() and BC_MIN() with maxof() and minof() from Inline BC_INVALID_IDX (it's used twice and doesn't need a typecast). Inline bc_func_insertParam() and bc_func_insertAuto() (each is used once). | |||
2018-03-12 | bc cleanup: move for(int i;) declarations to int i; for(i;). | Rob Landley | |
Coding style: declarations go at the start of blocks. | |||
2018-03-11 | Add bc to pending | Gavin Howard | |