News for hackers. Stuff that matters.
Re:The Emacs Calculator (2009) by wiz21c on Saturday December 16, 2017 @07:47AM (#15939303)
I love Emacs but the calculator, being stack based is just too awkward for me. I know there is the "algebraic mode" but it still is too much. Is there a way to configure it to work like, say, SpeedCrunch (my favorite calculator by far) ?
Re:The Emacs Calculator (2009) by exikyut on Saturday December 16, 2017 @08:51AM (#15939514)
TIL about SpeedCrunch!

http://www.speedcrunch.org/

http://www.speedcrunch.org/download.html even links to 32- and 64-bit prebuilt Qt binaries for Linux. Nice.

Re:The Emacs Calculator (2009) by kadal on Saturday December 16, 2017 @11:12AM (#15940128)
I use Qalculate which is awesome and has similar features.

https://qalculate.github.io/

Re:The Emacs Calculator (2009) by ihaveajob on Saturday December 16, 2017 @10:04AM (#15939817)
How does it compare with good old command line 'mc'?
Re:The Emacs Calculator (2009) by wiz21c on Saturday December 16, 2017 @11:11AM (#15940119)
you mean "bc" ? Dunno, never used a lot.

For computations such as 10+3, it's comparabale. But I give SpeedCrunch an dedge because it can compute "sin(pi/2)" out of the box.

Re:The Emacs Calculator (2009) by ihaveajob on Wednesday December 20, 2017 @12:34PM (#15971739)
Yes, bc. Obviously it's been a while since I used it!
Re:The Emacs Calculator (2009) by ajross on Saturday December 16, 2017 @11:27AM (#15940195)
Gotta raise my hand here too. I'm in my mid-40's, have worked at all levels of the software stack, have played with favored development tools of like nine generations of engineers.

I still can't wrap my brain around a RPN calculator well enough to use it productively (but boy howdy can I tell you how the stack engine works!). All the cool kids in physics class in the 80's were using HP's, and I felt left out even then. Never managed to make it work for myself.

Re:The Emacs Calculator (2009) by presto8 on Sunday December 17, 2017 @06:56PM (#15948390)
I'm the exact opposite. RPN calculators are totally natural to me, whereas I get confused on normal calculators.

Normal (non-algebraic) calculators are inconsistent. To get "2+3", it's infix: 2, +, 3, =. To get "cos(45)" it's postfix: 45 cos (and no equals). And something like "cos(2+3)" is a mixture of both. RPN, is always the same, numbers first, then operators, and usually more keystroke efficient. Some operators take multiple arguments.

RPN also has the advantage of (rarely) needing a memory register, since the values can be left on the stack and accessed as they are needed.

Re:The Emacs Calculator (2009) by thomastjeffery on Saturday December 16, 2017 @05:32PM (#15942589)
I think about it as first listing a bunch of scalars, then consolidating them with operations.

It takes a little practice to start thinking postfix, but it's a relief to not consider order of operations, and tends to be a lot more consistent with how I do arithmetic in my head in the first place.

Re:The Emacs Calculator (2009) by nikital on Saturday December 16, 2017 @08:28AM (#15939440)
I would sometimes open the Messages buffer and then repeatedly use M-x quick-calc to evaluate a few expressions. Each result is written to the Messages so I have a log. Dirty but works :)
Re:The Emacs Calculator (2009) by kqr on Saturday December 16, 2017 @04:19PM (#15942180)
Why open messages, though? You can paste quick calc results with ctrl y and they end up in messages none the less.
Re:The Emacs Calculator (2009) by nn3 on Saturday December 16, 2017 @11:58AM (#15940324)
I mainly use the algebraic mode

Just prefix every expression with '