bc: avoid having to twiddle b->neg in zbc_num_p()
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 22 Dec 2018 20:52:30 +0000 (21:52 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 22 Dec 2018 20:52:30 +0000 (21:52 +0100)
commita9f59db809d45847779b9c631d663a25b6115d7d
tree5d1492f5874e9901c38a57270681f35c2c1c854a
parent2ea8ddf8c245dd160eacf35409572c28345506f7
bc: avoid having to twiddle b->neg in zbc_num_p()

function                                             old     new   delta
zbc_num_ulong_abs                                      -      70     +70
zbc_num_p                                            424     413     -11
zbc_num_ulong                                         81      21     -60
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/2 up/down: 70/-71)             Total: -1 bytes

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