SpeedCrunch
41–50 of 138 posts
Re: SpeedCrunch
#42Re: SpeedCrunch
#43I love SpeedCrunch, but lately I've been using Kalker on the command line: https://kalker.xyz/ It's written in Rust ;-)
Re: SpeedCrunch
#44A 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…
Re: SpeedCrunch
#45(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
#46Re: SpeedCrunch
#47Somehow, 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…
Re: SpeedCrunch
#48What I like the most is the seamless integration of different notation styles, mainly using commas and points as decimal separators.
Re: SpeedCrunch
#49It 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?