5 ms·
GNU bc ends 11-year beta test, releases 1.7
- tmaly 10y agoFinally! I have been waiting for them forever
- bandrami 10y agoNo announcement on info-gnu or on the bc web page; I only noticed because I was about to download the ancient version to check something.
- exhilaration 10y agoFor those unfamiliar with bc, here's the man page: https://www.gnu.org/software/bc/manual/html_mono/bc.html https://www.gnu.org/software/bc/manual/html_mono/bc.html
- amirouche 10y ago> an arbitrary precision calculator language Everybody use GNU Guile already :)
- dgquintas 10y ago1.07, actually. Title is wrong.
- bandrami 10y agoGah, sorry. Touch-typing failed me again.
- juliangoldsmith 10y agoI believe it should also be a 17-year beta test, since 1.06 was released in 2000.
- ufo 10y agoWhat changed from 1.06 to 1.07?
- EddieRingle 10y agoUnsure, but it broke compilation of the Linux kernel for me. (linux-mainline on Arch)
- bandrami 10y agoThe changelog covers 16 years, and is 1500 lines long
- dennisse 10y agoChangelog: https://pastebin.com/J6gpwVBF https://pastebin.com/J6gpwVBF
- asveikau 10y agoThe US president 3 times over? (According to the changelog 1.06 is from the year 2000)
- barelyusable 10y agoCome on guys. Everyone knows real h4ck3rs are using apcalc: http://www.isthe.com/chongo/tech/comp/calc/calc-mirror.html http://www.isthe.com/chongo/tech/comp/calc/calc-mirror.html
- ComputerGuru 10y agoCare to expound on the differences between the two?
- paxcoder 10y agoWhat reference am I missing here?
- darpa_escapee 10y agoMy high school had Calc AB, Calc BC and AP Calc.
- paxcoder 10y agoDoes anyone know why the default scale is 0 (meaning division rounds down by default)?
- bandrami 10y agoHistorical compatibility. Back in the day you couldn't always guarantee you even had a coprocessor, so scale > 0 could get arbitrarily expensive.
- rsync 10y 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 10y agoI use bc all the time, yet I still managed to miss that option. Thanks!
- seanp2k2 10y agoTo commemorate this momentous achievement, they're changing the name to `ad`
- OneOneOneOne 10y agoIn bc 10 / 3 => 3 It yields integer values unless started with -l option. What's up with that?
- yrro 10y agobc has a scale variable, which determines the precision of calculations. By default it is 0, but running with -l sets it to 20 (among other things).
- sussjsiisiwk 10y agoHere's a handy bc wrapper I picked up somewhere. cat /usr/local/bin/solve #!/bin/sh bc << EOF scale=4 $@ quit EOF $ solve "4*49+732"
- Johnny_Brahms 10y agoAs someone that has done most my maths using perl during the 90s and lately scheme, I have managed to miss BC completely. Since some people here seem to use it daily, are there any other reasons to use it than "i am used to it" or that you actually need arbitrary precision?
- bfu 10y agoThere are very few console programs which thinks they know better than me what I want when I press Ctrl+C and bc is one of them.