4 ms·
I use bc. There's only so much you can add to it. I also think programmers should try to finish the software they write. https://gavinhoward.com/2019/11/finish
by ghoward 6y ago
I use bc. There's only so much you can add to it.
I also think programmers should try to finish the software they write. https://gavinhoward.com/2019/11/finishing-software/ https://gavinhoward.com/2019/11/finishing-software/
- iso1631 6y agosquare root, or indeed all non-integer powers, would be handy > Runtime warning (func=(main), adr=9): non-zero scale in exponent
- skocznymroczny 6y agoI assume bc doesn't stand for Borland C?
- ogogmad 6y agoWhat do you use it for? I've used it to estimate the limit of the following sequence of functions, because I wasn't sure there was enough precision in machine floating point to do it properly: ⎡ ___________________________⎤ ⎢ _________________ ╱ _________________ ⎥ ⎢ ________ ╱ ________ ╱ ╱ ________ ⎥ ⎢ ╱ 2 ╱ ╱ 4 ╱ ╱ ╱ 8 ⎥ ⎣x, ╲╱ x + 1 , ╲╱ ╲╱ x + 1 + 1 , ╲╱ ╲╱ ╲╱ x + 1 + 1 + 1 ⎦
- ghoward 6y agoNice! Can you post the bc script you used? I use bc as my desktop calculator instead of a graphical calculator. I use one with more extensions than GNU bc, so it is useful for me when programming.
- deleted 6y ago[deleted]