aboutsummaryrefslogtreecommitdiff
path: root/miscutils/bc.c
AgeCommit message (Expand)Author
2021-01-04bc: ^C on input line exits (unlike ^C during calculations, which does not)Denys Vlasenko
2020-12-29bc,dc: make BC_LINE_LENGTH/DC_LINE_LENGTH more compatible with GNUDenys Vlasenko
2020-12-29bc: placate gcc (it thinks 's' can be uninitialized here)Denys Vlasenko
2020-12-21bc: do not allocate line editing state until neededDenys Vlasenko
2020-11-30decrease padding: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nillyDenys Vlasenko
2020-06-24bc: placate a "defined but not used" warningDenys Vlasenko
2019-11-23bc: fix comparison bug, closes 12336Denys Vlasenko
2019-09-12bc: Add 'U' suffix in UINT_MAX preprocessor checkKang-Che Sung
2019-09-05dc: Parse error & fix out of bounds read in xc_program_printStringBrian Foley
2019-09-05dc: Fix segfault when executing strings generated using asciifyBrian Foley
2019-09-05dc: execute shouldn't pop if stack head is not a stringBrian Foley
2019-07-02libbb: reduce the overhead of single parameter bb_error_msg() callsJames Byrne
2019-06-08bc: placate compiler warningsDenys Vlasenko
2019-01-25bc: implement pass-by-reference code from upstreamDenys Vlasenko
2019-01-09bc: code shrinkDenys Vlasenko
2019-01-08bc: remove "empty expression" check/message, parsing fails in these cases anywayDenys Vlasenko
2019-01-08bc: zbc_parse_expr_empty_ok() is unused except by zbc_parse_expr(), fold it inDenys Vlasenko
2019-01-08bc: disallow invalid syntax like "{ print 1 print 2 }"Denys Vlasenko
2019-01-07sleep: support "inf"Denys Vlasenko
2019-01-04bc: shorten "limits" outputDenys Vlasenko
2019-01-04bc: formatting changes, added a FIXME comment, no logic changesDenys Vlasenko
2019-01-04bc: support void functions (GNU compat)Denys Vlasenko
2019-01-04dc: fit returning of stringDenys Vlasenko
2019-01-04dc: fix '?'Denys Vlasenko
2019-01-04bc: eliminate struct BcInstPtr::results_len_before_call, it is redundantDenys Vlasenko
2019-01-04bc: add a palceholder comment for "void" returnDenys Vlasenko
2019-01-04bc: remove extra div/0 test, remove test for string function parameterDenys Vlasenko
2019-01-03bc: fix "...; return}" to work, disallow "return ()"Denys Vlasenko
2019-01-02bc: make error line number also size_t, like everything elseDenys Vlasenko
2019-01-02bc: speed up string printing, fix print ""Denys Vlasenko
2019-01-01bc: upstream fixesDenys Vlasenko
2019-01-01bc: in xc_read_line(), check ^C on NUL input bytes tooDenys Vlasenko
2018-12-31bc: remove superfluous assigmentDenys Vlasenko
2018-12-31bc: support ibase up to 36 (GNU compat)Denys Vlasenko
2018-12-31bc: fold xc_lex_more_input() into peek_inbuf()Denys Vlasenko
2018-12-30bc: tidying up, no logic changesDenys Vlasenko
2018-12-29bc: simplify representation of 0.5 in sqrt()Denys Vlasenko
2018-12-29bc: remove special-cased assignment to ibase, it works correctly with general...Denys Vlasenko
2018-12-29bc: more fixes for unusual input basesDenys Vlasenko
2018-12-29bc: fix handling of "digits" above 9Denys Vlasenko
2018-12-28bc: bc enables FEATURE_DC_BIG, for correct dc testsuite operationDenys Vlasenko
2018-12-28bc: rename config optionsDenys Vlasenko
2018-12-28config: update size informationDenys Vlasenko
2018-12-27bc: rename functions common to bc and dc as xc_FOO()Denys Vlasenko
2018-12-27bc: G.prog.zero does not need initializing num[] vectorDenys Vlasenko
2018-12-26bc: use ALIGN1 where appropriateDenys Vlasenko
2018-12-26bc: undo debugging change, add a small optimizationDenys Vlasenko
2018-12-26bc: simple speedupsDenys Vlasenko
2018-12-26bc: use '\0' insteads of 0xff (BC_PARSE_STREND) as name terminatorDenys Vlasenko
2018-12-26bc: reduce indentation, no code changesDenys Vlasenko