bc: further simplify string-to-number conversion code
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 9 Dec 2018 12:33:52 +0000 (13:33 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 9 Dec 2018 12:33:52 +0000 (13:33 +0100)
commit218ed1cf5466a37ade2a319e9335fb2c1ff19252
treeff56c5debd8ebf7ecc84ff70169b0a4668b1dd65
parent4a024c771992e274f46a8451647dc86f92a90999
bc: further simplify string-to-number conversion code

function                                             old     new   delta
bc_program_index                                      66      64      -2
bc_program_num                                       983     963     -20
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-22)             Total: -22 bytes
   text    data     bss     dec     hex filename
 985706     477    7296  993479   f28c7 busybox_old
 985684     477    7296  993457   f28b1 busybox_unstripped

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/bc.c