aboutsummaryrefslogtreecommitdiff
path: root/miscutils/bc.c (follow)
Commit message (Expand)AuthorAgeFilesLines
...
* bc: 0xffffffffffffffff may be larger than unsigned longDenys Vlasenko2018-12-101-2/+2
* bc: optimize bc_vec_concat()Denys Vlasenko2018-12-101-3/+4
* bc: simplify bc_program_len()Denys Vlasenko2018-12-101-5/+7
* bc: simplify bc_program_print()Denys Vlasenko2018-12-101-6/+7
* bc: simplify bc_num_ulong2num()Denys Vlasenko2018-12-101-4/+13
* bc: move str-to-num conversion functions to their only caller, bc_num_parse()Denys Vlasenko2018-12-101-133/+133
* bc: further simplify string-to-number conversion codeDenys Vlasenko2018-12-091-1/+7
* bc: simplify string-tonumber conversion codeDenys Vlasenko2018-12-091-45/+43
* bc: no need to "set to zero" BcNum after bc_num_init(), it already isDenys Vlasenko2018-12-091-7/+10
* bc: add and use bc_num_init_DEF_SIZE()Denys Vlasenko2018-12-091-25/+29
* bc: in bc_program_execStr(), push two variables into inner scopeDenys Vlasenko2018-12-091-15/+12
* bc: in bc_program_exec(), push two variables into inner scopeDenys Vlasenko2018-12-091-121/+19
* bc: add accessors for G.prog.strs[idx], G.prog.fns[idx]Denys Vlasenko2018-12-091-20/+30
* bc: eliminate always the same params to bc_num_printBase()Denys Vlasenko2018-12-081-11/+11
* bc: remove redundant error checks in bc_parse_print()Denys Vlasenko2018-12-081-8/+10
* bc: stop propagating pointer to G.prog.nchars deep into printing functionsDenys Vlasenko2018-12-081-48/+45
* bc: do not pass line width in parameters, it's in globalsDenys Vlasenko2018-12-081-28/+29
* bc: remove "ready for more input" message, GNU bc does not print thatDenys Vlasenko2018-12-081-12/+4
* bc: trim banner, use empty interactive prompts (GNU bc compat)Denys Vlasenko2018-12-081-19/+19
* dc: fix "small dc" to have standard command line APIDenys Vlasenko2018-12-081-2/+1
* bc: replace G.eof with a special exit code of bc_vm_stdin()Denys Vlasenko2018-12-071-6/+9
* bc: convert two macros to functions, unwing one complex max(a,min(b,c))Denys Vlasenko2018-12-071-9/+20
* bc: do not perform domr limit checks when they can't work (e.g. on 32-bit arc...Denys Vlasenko2018-12-071-33/+76
* bc: pull temporary into a registerDenys Vlasenko2018-12-071-7/+10
* bc: use more compact parsing data structuresDenys Vlasenko2018-12-071-27/+35
* bc: use only G_interrupt as interrupt flagDenys Vlasenko2018-12-071-6/+7
* bc: fix exit codes for FEATURE_CLEAN_UP=yDenys Vlasenko2018-12-061-8/+15
* bc: correctly parse dc optionsDenys Vlasenko2018-12-061-58/+101
* dc: fix "dc does_not_exist" SEGVingDenys Vlasenko2018-12-061-1/+2
* bc: code shrink - convert two macros to functionsDenys Vlasenko2018-12-061-4/+13
* bc: make keyword POSIXness check more readableDenys Vlasenko2018-12-061-27/+29
* bc: move a function to reduce forward declarationsDenys Vlasenko2018-12-061-21/+17
* bc: small simplification in dc_lex_token()Denys Vlasenko2018-12-061-15/+14
* bc: add comment about BC_NUM_DEF_SIZEDenys Vlasenko2018-12-061-11/+12
* bc: fix for prev commitDenys Vlasenko2018-12-061-1/+1
* bc: do not needlessly use strcatDenys Vlasenko2018-12-061-1/+1
* bc: unbreak "BC only" and "DC only" configsDenys Vlasenko2018-12-061-7/+15
* dc: re-enable "tiny dc" implementationDenys Vlasenko2018-12-061-12/+31
* bc: reuse common stringDenys Vlasenko2018-12-061-5/+5
* bc: hook up line editing with history bufferDenys Vlasenko2018-12-061-25/+63
* bc: add preparatory indent block, no code changesDenys Vlasenko2018-12-061-30/+30
* bc: if ^C handling is not selected, there is no interactive modeDenys Vlasenko2018-12-061-11/+16
* bc: fix "bc -v" printing version info twice, and not exitingDenys Vlasenko2018-12-061-44/+50
* bc: make bc_vm_envArgs() NULL-terminate its argv, simplify bc_vm_envLen()Denys Vlasenko2018-12-061-49/+38
* bc: if FEATURE_CLEAN_UP, clean up allocations on exitsDenys Vlasenko2018-12-061-7/+36
* bc: do not allow "()" as a valid expressionDenys Vlasenko2018-12-051-2/+13
* bc: reorder functions, delete forward declarations, no code changes - part 2Denys Vlasenko2018-12-051-40/+27
* bc: reorder functions, delete forward declarations, no code changesDenys Vlasenko2018-12-051-104/+94
* bc: remove unused stringsDenys Vlasenko2018-12-051-3/+3
* bc: trivial simplification in bc_parse_return()Denys Vlasenko2018-12-051-4/+1