aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md17
1 files changed, 15 insertions, 2 deletions
diff --git a/readme.md b/readme.md
index 10f1e18..eed3789 100644
--- a/readme.md
+++ b/readme.md
@@ -72,6 +72,19 @@ $ cargo install --force --path /path/to/eva
72 - binary operators: `+ - * / ^` 72 - binary operators: `+ - * / ^`
73 - unary operators: `+ -` 73 - unary operators: `+ -`
74 74
75### constants
76
77some constants avaliable in rust standard library.
78
79```
80e pi
81```
82
83examples:
84```
85pi * 5^2 # πr²
86```
87
75### functions 88### functions
76 89
77all trignometric functions expect input in degrees. 90all trignometric functions expect input in degrees.
@@ -85,7 +98,7 @@ deg(x) - convert x to degrees
85rad(x) - convert x to radians 98rad(x) - convert x to radians
86``` 99```
87 100
88examples: 101examples:
89``` 102```
90sqrt(sin(30)) # parentheses are mandatory for functions 103sqrt(sin(30)) # parentheses are mandatory for functions
91 104
@@ -117,7 +130,7 @@ Domain Error: Out of bounds!
117 130
118### todo 131### todo
119 132
120 - add support for variables (ans, pi, e) 133 - ~~add support for variables (pi, e, _ (previous answer))~~
121 - ~~syntax highlighting~~ 134 - ~~syntax highlighting~~
122 - multiple arg functions 135 - multiple arg functions
123 - ~~screenshots~~ 136 - ~~screenshots~~