USA Linux Users Group Forum Index
Log in Register FAQ Memberlist Search USA Linux Users Group Forum Index Album

speedcrunch - a fast, high precision desktop calculator

 
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » K12LTSP and Educational Applications
View previous topic :: View next topic  
Author Message
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Tue Jun 24, 2024 2:02 pm    Post subject: speedcrunch - a fast, high precision desktop calculator Reply with quote

speedcrunch, a fast, high precision and powerful desktop calculator.
http://speedcrunch.org/en/
http://speedcrunch.org/en/screenshots.htm
Quote:

Unlike traditional desktop calculator, SpeedCrunch is easier to use. You just type the expression that you want to calculate and press Enter. You can see clearly what you typed along with the result in the scrollable display. That is faster and more convenient, isn't it?

You can also paste the expression from the clipboard, that you copied from somewhere else. And, you can quickly copy the last calculation result to the clipboard using Ctrl+R.

autocalc Before you finish, SpeedCrunch may even give already the answer (calc-as-you-type, anyone?). This allows you to "fix" your expression if you think it is not what you want.
Unlimited variables

Advanced calculation sometimes needs memory feature. SpeedCrunch allows variables to hold calculation result, e.g. x = 0.3 which can be reused in y = 2*x. Variables need not only a character, InterestRate is a perfect name as well. And still, you can define as many variables as you want.

There is a special variable, ans, which always holds the last calculation result. Another variable pi holds one of the most important constant in math world.
Syntax highlight

highlight Do you close your parentheses correctly? Mistype the number? No need to worry again because SpeedCrunch can always color the expression according to the syntax. You can easily distinguish numbers from variables. You can also see the matched parentheses.

Simply customize the colors (from the Settings menu) if the default don't please you.
Functions, with automagic completion

autocomplete Beside standard algebraic operator like + (addition), - (subtraction), * (multiplication), / (division), ^ or ** (exponentiation), there is support for some functions, for example sin, log, abs, and many more.

You do not need to memorize function names, use Ctrl+F to pop up a dialog where you can choose the function that you need.

Or take advantage of its auto-completion. Type the letter c only and in less than a second you will be automagically given with choices of cos, cosh or your variables whose name start with c.
50 decimals at your disposal

precision With its unique calculation routines, you can get up to 50 decimals of precision. Normally all the important digits are shown, but you can also ask SpeedCrunch to round it to several digits only.

When your calculation is quite complex and involving a chain of operations, this high precision ensures that you would get less rounding error in the end.
History repeats itself

If you want to recall again the expression which you typed before, then press up and down arrow to access the expression history.

Moreover, your expression history (maximum last 100 expressions) is saved between sessions. This means you can still invoke those calculations you have done yesterday or last week.
Smart correction

Often, SpeedCrunch can still understand an incomplete expression. For example, just typing sin followed by Enter - likely means taking the sine of last value - is automatically translated as sin(ans).

Also, for some functions you may skip the parentheses if you pass simple number or variable, sin 0.1 is as valid as sin(0.1).

Speaking about parentheses, closing them can be left to SpeedCrunch, e.g. cos(pi/4 is automatically corrected to cos(pi/4).


Easy to install on Arch Razz Very Happy Very Happy
Code:

[root@VistaCrusher ~]# pacman -S speedcrunch
resolving dependencies...
looking for inter-conflicts...

Targets: speedcrunch-0.10-1

Total Download Size:    0.47 MB
Total Installed Size:   1.56 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
 speedcrunch-0.10-1-...   478.5K  121.8K/s 00:00:04 [############################] 100%
checking package integrity...
(1/1) checking for file conflicts                   [############################] 100%
(1/1) installing speedcrunch                        [############################] 100%
[root@VistaCrusher ~]#



_________________
Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
Back to top
View user's profile Send private message Visit poster's website AIM Address
nukes
Linux Guru


Joined: 29 Aug 2024
Posts: 4558

PostPosted: Tue Jun 24, 2024 7:00 pm    Post subject: Reply with quote

Quote:
Also, for some functions you may skip the parentheses if you pass simple number or variable, sin 0.1 is as valid as sin(0.1).

Speaking about parentheses, closing them can be left to SpeedCrunch, e.g. cos(pi/4 is automatically corrected to cos(pi/4).

This is an artifact of the shunting algorithm. It can automatically close them, but it won't necessarily put them in the right place for more complex expressions.



_________________
Gentoo x86-64 2.6.29.1
FreeBSD 7-CURRENT
Arch x86 2.6.30
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
VHockey86
Advanced Member


Joined: 12 Dec 2024
Posts: 988
Location: Rochester

PostPosted: Tue Jun 24, 2024 7:03 pm    Post subject: Reply with quote

I think I'll stick with python as a quick expression evaluator but this looks like a decent calculator app.
After using a TI-89 for so long, the traditional scientific calculator interfaces are unusable to me. I prefer to type a whole expression out rather than trying to figure out the right sequence of button to push to make sure its evaluated properly (god forbid if you have to use parenthesis with the standard windows calc / kcalc sort of interface).



_________________
Main Desktops : Kubuntu 10.4. ArchLinux 64-bit. Windows7 64-bit. Windows XP 32-bit.

MacBook: OS X Snow Leopard (10.6)
Back to top
View user's profile Send private message
nukes
Linux Guru


Joined: 29 Aug 2024
Posts: 4558

PostPosted: Tue Jun 24, 2024 9:38 pm    Post subject: Reply with quote

Personally I just use bc. If it's anything more complicated, like VHockey86 says, python is the way to go.



_________________
Gentoo x86-64 2.6.29.1
FreeBSD 7-CURRENT
Arch x86 2.6.30
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
masinick
Linux Guru


Joined: 03 Apr 2024
Posts: 8615
Location: Concord, NH

PostPosted: Wed Jun 25, 2024 5:50 pm    Post subject: Got it Reply with quote

nukes wrote:
Personally I just use bc. If it's anything more complicated, like VHockey86 says, python is the way to go.


I often use bc or dc too, but I also use simple GUI based calculators. This one may turn out to be useful.

I got it very easily. I have a Bash alias set up:

Code:
alias inst="sudo apt-get update && sudo apt-get install $@"
so installing is a matter of typing in
Code:
inst speedcrunch


I now have it installed. Works fine, installs quickly, is flexible and easy to use. Worth getting in my opinion. Does not carry much overhead even if you do not use it very often.

Less than a meg in size on sidux:
-rwxr-xr-x 1 root root 888664 2024-04-26 04:54 /usr/bin/speedcrunch



_________________
Brian Masinick
Distros: SimplyMEPIS
sidux - no CAPS!, antiX, Debian
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » K12LTSP and Educational Applications All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All content © 2024-2009 - Usa Linux Users Group
This forum is powered by phpBB. © 2024-2009 phpBB Group
Theme created by phpBBStyles.com and modified by Crouse