Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
paxcoder
on April 5, 2017
|
parent
|
context
|
favorite
| on:
GNU bc ends 11-year beta test, releases 1.7
Does anyone know why the default scale is 0 (meaning division rounds down by default)?
rsync
on April 5, 2017
|
next
[–]
No 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
on April 5, 2017
|
parent
|
next
[–]
I use bc all the time, yet I still managed to miss that option. Thanks!
bandrami
on April 5, 2017
|
prev
[–]
Historical compatibility. Back in the day you couldn't always guarantee you even had a coprocessor, so scale > 0 could get arbitrarily expensive.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: