6 ms·
Does anyone know why the default scale is 0 (meaning division rounds down by default)?
by paxcoder 9y ago
Does anyone know why the default scale is 0 (meaning division rounds down by default)?
- rsync 9y agoNo idea but initial system setup on every system I touch is to alias bc to 'bc -l'. I use bc tens of times per day ...
- xorcist 9y agoI use bc all the time, yet I still managed to miss that option. Thanks!
- bandrami 9y agoHistorical compatibility. Back in the day you couldn't always guarantee you even had a coprocessor, so scale > 0 could get arbitrarily expensive.