Live data from Hacker News

SpeedCrunch

speedcrunch.org

121–130 of 138 posts

Re: SpeedCrunch

#121
post #88

I used to use this back when I mained Windows. Ever since moving primarily to Linux, and getting familiar with Emacs, Calc mode simply beats every calculator I've ever used in total functionality. However, there are certain cases where I also like to use https://insect.sh if lots of units are involved.

I use calc as well, especially practical in combination with guake ( a drop-down quake style console: https://github.com/Guake/guake ).

I'm using Emacs in a floating window under I3wm that I can toggle into the scrap buffer and back with a key binding. Doing the same with one terminal. This inspiration for this also came from the console in Quake.

Re: SpeedCrunch

#122
post #2

I LOVE SpeedCrunch. I do not need a calculator very often, but when I do, this is my calculator of choice. It doesn't support graphing, but it understands units, which is both useful and cool. I like the UI, too, for being simple but very much functional without getting in my way. And it supports a persistent history across sessions, which I also like.

Using and liking it also. It is just that I need it so rarely that I fall back into the RPN that I'm used to from Emacs calc. Speedcrunch does not have a RPN mode, does it? That would be splendid.

Re: SpeedCrunch

#124

A little bit jank, but there is also a port for android available[0]. It still has SI prefixes and unit conversion, but you need to have a good keyboard to really take advantage of it. [0] https://github.com/mikkosyrja/speedcrunch-android

I didn't know there was an Android port. Thanks for the link!

On Android, so far, I prefer Calculator++ - it supports complex numbers (not that I need those, but sqrt(-1) returns i) and has fairly capable graphing.

Re: SpeedCrunch

#125

Earlier quoted context omitted.

Is that not correct? I guess I should touch on my order of operations. I thought distributing was part of the parenthesis step, that came before MDAS.

Yes, that answer is incorrect since it breaks with calculator conventions. The contents of the parentheses are calculated first (P in PEMDAS), and then the multiplication is done later (MD in PEMDAS). Implicit multiplication (which does not explicitly use a multiplication sign) has the same priority as any other multiplication: a/b(c) = a/b*c = (a/b)*c Since SpeedCrunch only accepts input in a single line, this would…

Not even calculators agree on this. Here's a picture of my Casio fx-83ES and fx-83GT calculators giving different answers to "8/2(2+2)": https://i.imgur.com/SsKUQrE.jpg

Both answers are completely, 100% correct according to the operator precedence table in their manuals. I also have a Casio fx-83MS and fx-991ES, both give 1 as the answer.

Others I have are a Casio fx-570CD and a Casio statistical calculator I don't remember the model of, neither of which support implicit multiplication, and a SwissMicros DM42, which is RPN and doesn't have to deal with operator precedence.

I don't even know why I have half of these...

Re: SpeedCrunch

#126

Earlier quoted context omitted.

Emacs Calc (not unlike much of the rest of Emacs) is a little ... special. By default, it calculates 4/2*2 as 1, because multiplication has a higher precedence than division. https://orgmode.org/manual/Formula-syntax-for-Calc.html

You could open an issue. Seems like a reasonable idea to fix that.

It's by design. The option calc-multiplication-has-precedence controls this behavior.

Re: SpeedCrunch

#127

Earlier quoted context omitted.

Yes, that answer is incorrect since it breaks with calculator conventions. The contents of the parentheses are calculated first (P in PEMDAS), and then the multiplication is done later (MD in PEMDAS). Implicit multiplication (which does not explicitly use a multiplication sign) has the same priority as any other multiplication: a/b(c) = a/b*c = (a/b)*c Since SpeedCrunch only accepts input in a single line, this would…

Not even calculators agree on this. Here's a picture of my Casio fx-83ES and fx-83GT calculators giving different answers to "8/2(2+2)": https://i.imgur.com/SsKUQrE.jpg Both answers are completely, 100% correct according to the operator precedence table in their manuals. I also have a Casio fx-83MS and fx-991ES, both give 1 as the answer. Others I have are a Casio fx-570CD and a Casio statistical calculator I don't r…

Looking at this issue and then trying Qalculate! as some of the other commenters to this post have mentioned.... I tried 1/2(-9.8) and it calculated it as -0.05102040816 as I was doing the entry. As soon as I hit enter, however, it popped open a dialog box saying "The expression is ambiguous" and asked me to select an interpretation of expressions with implicit multiplication, setting a preference for later use. The choices were:

Implicit multiplication first: 1/2x = 1/(2x); Conventional: 1/2x = (1/2)x; Adaptive: 1/2x = 1/(2x); 1/2 x = (1/2)x

So their answer is to just ask the user what to do! It won me over with that.

Re: SpeedCrunch

#128

Earlier quoted context omitted.

Emacs Calc (not unlike much of the rest of Emacs) is a little ... special. By default, it calculates 4/2*2 as 1, because multiplication has a higher precedence than division. https://orgmode.org/manual/Formula-syntax-for-Calc.html

> because multiplication has a higher precedence than division Wow. That's actually quite bad.

I've used Emacs Calc for >5 years and never knew about this, because I always do calculations in RPN.

Re: SpeedCrunch

#129
post #80

Are there anything similar to iOS? Currently using Wolfram Alpha

Nothing beats WA, keep using it. SpeedCrunch is only better when you don't have an internet connection. WA is my default to go calculator, especially after learning its language it's so much powerful than anything

Yeah same experience, WA is really really good

Re: SpeedCrunch

#130

Earlier quoted context omitted.

Yes, that answer is incorrect since it breaks with calculator conventions. The contents of the parentheses are calculated first (P in PEMDAS), and then the multiplication is done later (MD in PEMDAS). Implicit multiplication (which does not explicitly use a multiplication sign) has the same priority as any other multiplication: a/b(c) = a/b*c = (a/b)*c Since SpeedCrunch only accepts input in a single line, this would…

Not even calculators agree on this. Here's a picture of my Casio fx-83ES and fx-83GT calculators giving different answers to "8/2(2+2)": https://i.imgur.com/SsKUQrE.jpg Both answers are completely, 100% correct according to the operator precedence table in their manuals. I also have a Casio fx-83MS and fx-991ES, both give 1 as the answer. Others I have are a Casio fx-570CD and a Casio statistical calculator I don't r…

I have to say, it's really disappointing to see similar models from the same brand act differently. Thanks for testing this out and shedding more light on this issue.
Post reply on HN