bc: move ^C check fro power calculation to multiplication
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 5 Dec 2018 18:00:58 +0000 (19:00 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 5 Dec 2018 18:00:58 +0000 (19:00 +0100)
commit06fa65bd95455e97d2275ee4d74167f9bfd251c0
tree4f9e7f12ecf85bc4abb6be5db18267a970c4a2c2
parentb692c2faf1e713fe4ec04d34bd6ad77e02dbb5d6
bc: move ^C check fro power calculation to multiplication

function                                             old     new   delta
bc_num_k                                             971     990     +19
bc_num_p                                             507     478     -29
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 19/-29)            Total: -10 bytes

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