Live data from Hacker News

SpeedCrunch

speedcrunch.org

41–50 of 138 posts

Re: SpeedCrunch

#42
It would be nice to know how numeric types are implemented, especially for something advertised as high-precision. Does it use some arbitrary precision floats or what?

Re: SpeedCrunch

#44

A small plug for my own script: I'm proud to present the most useful, least-work script I've ever written: `math` https://github.com/shawwn/scrap/blob/master/math #!/bin/sh scale=4 # results will print to the 4th decimal echo "scale=$scale; $@" | bc -l It just yeets all its arguments into bc -l, so you can run math 1+2-3 or math '(1024 - 7)*10' or whatever else you want. I even use it in other shell scripts, since ba…

I use Flameshot for screenshots. Onpaste (web) is good too.

Re: SpeedCrunch

#45
Somehow, it seems speedcrunch has a problem in dealing with big numbers. For example, I can do:

(3(7^204+7^202+7^200)+7(3^204+3^200)-210) mod 10

in the calculator that comes with linux and get the right result (which is 7), but speedcrunch overflows and outputs 0. I've set the result format to fixed decimal and precision to 50 digits, but that doesn't seem to make a difference.

Edit: Just tried it with insect, which also gets it wrong.

Re: SpeedCrunch

#46
post #4

I love SpeedCrunch on Windows, but for MacOS I prefer Numi https://numi.app/

How does Numi compare to Soulver 3[0]? [0] https://soulver.app/

I have your exact question in mind. If the OP hasn't tried Soulver, they must! It's a gem of computing for me and I lean on it regularly.

Re: SpeedCrunch

#47
post #45

Somehow, it seems speedcrunch has a problem in dealing with big numbers. For example, I can do: (3(7^204+7^202+7^200)+7(3^204+3^200)-210) mod 10 in the calculator that comes with linux and get the right result (which is 7), but speedcrunch overflows and outputs 0. I've set the result format to fixed decimal and precision to 50 digits, but that doesn't seem to make a difference. Edit: Just tried it with insect, which…

If you mean bc as the 'calculator that comes with linux', thats somewhat to be expected. Speedcrunch deals with a maximum integer size of 256 bits (~1.15e77), while bc is an arbitrary precision calculator.

Re: SpeedCrunch

#48
I've used it in the past, until one day they removed the buttons/skeuomorphic UI. A couple of years ago, I found it again and is now my daiky driver. It has a newer skeuomorphic interface, which I only use if I can't remember the name of a function.

What I like the most is the seamless integration of different notation styles, mainly using commas and points as decimal separators.

Re: SpeedCrunch

#49
post #42

It would be nice to know how numeric types are implemented, especially for something advertised as high-precision . Does it use some arbitrary precision floats or what?

From the documentation: * However, only about 78 significant digits are stored at any point. * SpeedCrunch stores integers with a precision of up to 256 bits.

Re: SpeedCrunch

#50
post #25
post #23

Earlier quoted context omitted.

Try clearing your history. I notice the delay only when I have dozens / hundreds of steps in history.

That solved it, thanks! :-) Now I have nothing but good words about Speedcrunch!

Except maybe that long histories create noticeable lag, that is.
Post reply on HN