Skip to content

Commit 2eece22

Browse files
committed
update readme
1 parent cae0c96 commit 2eece22

File tree

3 files changed

+40
-2
lines changed

3 files changed

+40
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "csc"
3-
version = "0.1.5"
3+
version = "0.1.6"
44
edition = "2021"
55
authors = ["Zahash <zahash.z@gmail.com>"]
66
description = "Command Line Scientific Calculator"

README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,44 @@ $ csc 10 + 1.14
4343
$ csc '10 + 1.14 * ln(50)'
4444
```
4545

46+
## Features
47+
48+
```sh
49+
# basic arithmetic and assignment
50+
a = 1
51+
b = -2 % a * (3^2 / 4)
52+
b += 100
53+
54+
# functions
55+
exp(x)
56+
sqrt(x)
57+
cbrt(x)
58+
abs(x)
59+
floor(x)
60+
ceil(x)
61+
round(x)
62+
63+
ln(x)
64+
log2(x)
65+
log10(x)
66+
log(x, b)
67+
68+
sin(rad)
69+
cos(rad)
70+
tan(rad)
71+
72+
sinh(rad)
73+
cosh(rad)
74+
tanh(rad)
75+
76+
asin(rad)
77+
acos(rad)
78+
atan(rad)
79+
80+
asinh(rad)
81+
acosh(rad)
82+
atanh(rad)
83+
```
4684

4785
## Meta
4886

0 commit comments

Comments
 (0)