██████╗███████╗ ██████╗ ██╔════╝██╔════╝██╔════╝ ██║ ███████╗██║ ██║ ╚════██║██║ ╚██████╗███████║╚██████╗ ╚═════╝╚══════╝ ╚═════╝ ------------------------ Command Line Scientific Calculator. Free Forever. Made with ❤️ using 🦀
https://github.com/zahash/csc/releases
( or )
cargo install csc
launch the interactive prompt by typing csc
to run multiple computations
a = 10
b = a + 1.14
c = log(b, 3) + sin(PI)
or run one off computations by simply providing them
$ csc 10 + 1.14
$ csc '10 + 1.14 * ln(50)'
# basic arithmetic and assignment
a = 1
b = -2 % a * (3^2 / 4)
b += 100
# functions
exp(x)
sqrt(x)
cbrt(x)
abs(x)
floor(x)
ceil(x)
round(x)
ln(x)
log2(x)
log10(x)
log(x, b)
sin(rad)
cos(rad)
tan(rad)
sinh(rad)
cosh(rad)
tanh(rad)
asin(rad)
acos(rad)
atan(rad)
asinh(rad)
acosh(rad)
atanh(rad)
M. Zahash – zahash.z@gmail.com
Distributed under the MIT license. See LICENSE
for more information.
- Fork it (https://github.com/zahash/csc/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request