From 42476911733ae8baa7baac2ce31b672ef525ec5f Mon Sep 17 00:00:00 2001 From: NerdyPepper Date: Wed, 27 Mar 2019 14:12:30 +0530 Subject: update functions list, add more goals --- readme.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 447d58d..1f85365 100644 --- a/readme.md +++ b/readme.md @@ -33,10 +33,10 @@ type out an expression and hit enter, repeat. ### functions -fn(x: Number) -> Number +All trignometric functions expect input in degrees. ``` -sin +sin cos tan csc @@ -45,11 +45,14 @@ cot sinh cosh tanh -ln +ln log sqrt ceil floor +deg(x) - convert x to degrees +rad(x) - convert x to radians +abs(x) - (x * x) ^ 0.5 ``` examples: @@ -77,6 +80,7 @@ ans: 6 ### todo - ~~add detailed error handler~~ + - add support for variables (ans, pi, e) - multiple arg functions - ~~unary operators (minus, plus)~~ - screenshots -- cgit v1.2.3