aboutsummaryrefslogtreecommitdiff
path: root/miscutils/bc.c
AgeCommit message (Expand)Author
2018-12-10bc: make all function pointers FAST_FUNC, on i486 this saves ~400 bytesDenys Vlasenko
2018-12-10bc: 0xffffffffffffffff may be larger than unsigned longDenys Vlasenko
2018-12-10bc: optimize bc_vec_concat()Denys Vlasenko
2018-12-10bc: simplify bc_program_len()Denys Vlasenko
2018-12-10bc: simplify bc_program_print()Denys Vlasenko
2018-12-10bc: simplify bc_num_ulong2num()Denys Vlasenko
2018-12-10bc: move str-to-num conversion functions to their only caller, bc_num_parse()Denys Vlasenko
2018-12-09bc: further simplify string-to-number conversion codeDenys Vlasenko
2018-12-09bc: simplify string-tonumber conversion codeDenys Vlasenko
2018-12-09bc: no need to "set to zero" BcNum after bc_num_init(), it already isDenys Vlasenko
2018-12-09bc: add and use bc_num_init_DEF_SIZE()Denys Vlasenko
2018-12-09bc: in bc_program_execStr(), push two variables into inner scopeDenys Vlasenko
2018-12-09bc: in bc_program_exec(), push two variables into inner scopeDenys Vlasenko
2018-12-09bc: add accessors for G.prog.strs[idx], G.prog.fns[idx]Denys Vlasenko
2018-12-08bc: eliminate always the same params to bc_num_printBase()Denys Vlasenko
2018-12-08bc: remove redundant error checks in bc_parse_print()Denys Vlasenko
2018-12-08bc: stop propagating pointer to G.prog.nchars deep into printing functionsDenys Vlasenko
2018-12-08bc: do not pass line width in parameters, it's in globalsDenys Vlasenko
2018-12-08bc: remove "ready for more input" message, GNU bc does not print thatDenys Vlasenko
2018-12-08bc: trim banner, use empty interactive prompts (GNU bc compat)Denys Vlasenko
2018-12-08dc: fix "small dc" to have standard command line APIDenys Vlasenko
2018-12-07bc: replace G.eof with a special exit code of bc_vm_stdin()Denys Vlasenko
2018-12-07bc: convert two macros to functions, unwing one complex max(a,min(b,c))Denys Vlasenko
2018-12-07bc: do not perform domr limit checks when they can't work (e.g. on 32-bit arc...Denys Vlasenko
2018-12-07bc: pull temporary into a registerDenys Vlasenko
2018-12-07bc: use more compact parsing data structuresDenys Vlasenko
2018-12-07bc: use only G_interrupt as interrupt flagDenys Vlasenko
2018-12-06bc: fix exit codes for FEATURE_CLEAN_UP=yDenys Vlasenko
2018-12-06bc: correctly parse dc optionsDenys Vlasenko
2018-12-06dc: fix "dc does_not_exist" SEGVingDenys Vlasenko
2018-12-06bc: code shrink - convert two macros to functionsDenys Vlasenko
2018-12-06bc: make keyword POSIXness check more readableDenys Vlasenko
2018-12-06bc: move a function to reduce forward declarationsDenys Vlasenko
2018-12-06bc: small simplification in dc_lex_token()Denys Vlasenko
2018-12-06bc: add comment about BC_NUM_DEF_SIZEDenys Vlasenko
2018-12-06bc: fix for prev commitDenys Vlasenko
2018-12-06bc: do not needlessly use strcatDenys Vlasenko
2018-12-06bc: unbreak "BC only" and "DC only" configsDenys Vlasenko
2018-12-06dc: re-enable "tiny dc" implementationDenys Vlasenko
2018-12-06bc: reuse common stringDenys Vlasenko
2018-12-06bc: hook up line editing with history bufferDenys Vlasenko
2018-12-06bc: add preparatory indent block, no code changesDenys Vlasenko
2018-12-06bc: if ^C handling is not selected, there is no interactive modeDenys Vlasenko
2018-12-06bc: fix "bc -v" printing version info twice, and not exitingDenys Vlasenko
2018-12-06bc: make bc_vm_envArgs() NULL-terminate its argv, simplify bc_vm_envLen()Denys Vlasenko
2018-12-06bc: if FEATURE_CLEAN_UP, clean up allocations on exitsDenys Vlasenko
2018-12-05bc: do not allow "()" as a valid expressionDenys Vlasenko
2018-12-05bc: reorder functions, delete forward declarations, no code changes - part 2Denys Vlasenko
2018-12-05bc: reorder functions, delete forward declarations, no code changesDenys Vlasenko
2018-12-05bc: remove unused stringsDenys Vlasenko