diff options
-rw-r--r-- | readme.md | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -33,10 +33,10 @@ type out an expression and hit enter, repeat. | |||
33 | 33 | ||
34 | ### functions | 34 | ### functions |
35 | 35 | ||
36 | fn(x: Number) -> Number | 36 | All trignometric functions expect input in degrees. |
37 | 37 | ||
38 | ``` | 38 | ``` |
39 | sin | 39 | sin |
40 | cos | 40 | cos |
41 | tan | 41 | tan |
42 | csc | 42 | csc |
@@ -45,11 +45,14 @@ cot | |||
45 | sinh | 45 | sinh |
46 | cosh | 46 | cosh |
47 | tanh | 47 | tanh |
48 | ln | 48 | ln |
49 | log | 49 | log |
50 | sqrt | 50 | sqrt |
51 | ceil | 51 | ceil |
52 | floor | 52 | floor |
53 | deg(x) - convert x to degrees | ||
54 | rad(x) - convert x to radians | ||
55 | abs(x) - (x * x) ^ 0.5 | ||
53 | ``` | 56 | ``` |
54 | 57 | ||
55 | examples: | 58 | examples: |
@@ -77,6 +80,7 @@ ans: 6 | |||
77 | ### todo | 80 | ### todo |
78 | 81 | ||
79 | - ~~add detailed error handler~~ | 82 | - ~~add detailed error handler~~ |
83 | - add support for variables (ans, pi, e) | ||
80 | - multiple arg functions | 84 | - multiple arg functions |
81 | - ~~unary operators (minus, plus)~~ | 85 | - ~~unary operators (minus, plus)~~ |
82 | - screenshots | 86 | - screenshots |