Skip to content

Commit

Permalink
added functions section
Browse files Browse the repository at this point in the history
  • Loading branch information
thanoulis committed Dec 7, 2020
1 parent 015c8b1 commit 7c6391f
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,51 @@

----

#### Constants & Functions

| Constants | Description |
|-----------|--------------|
| `p()` | PI |
| `e()` | Euler number |

| Function | Description |
|---------------|----------------------|
| `exp(x)` | exponential |
| `sqrt(x)` | square root |
| `pow(x,y)` | x power y (`x**y`) |
| `fmod(x,y)` | remainder of `x/y` |
| `hypot(x,y)` | hypotenuse |
| `abs(x)` | absolute \|x\| |
| `round(x)` | convert to integer |
| `ceil(x)` | next smallest int |
| `floor(x)` | previous largest int |
| `max(x,y,..)` | greatest number |
| `min(x,y,..)` | smallest number |
| `log(x)` | natural logarithm |
| `log10(x)` | base 10 logarithm |
| `randr` | random number (0,1) |
| `srandr(x)` | random with seed |

| Trigonometric | Functions | Type |
|---------------|--------------------|---------|
| `sind(x)` | sine | degrees |
| `cosd(x)` | cosine | degrees |
| `tand(x)` | tangent | degrees |
| `asind(x)` | arc sine | degrees |
| `acosd(x)` | arc cosine | degrees |
| `atand(x)` | arc tangent | degrees |
| `sin(x)` | sine | radians |
| `cos(x)` | cosine | radians |
| `tan(x)` | tangent | radians |
| `asin(x)` | arc sine | radians |
| `acos(x)` | arc cosine | radians |
| `atan(x)` | arc tangent | radians |
| `sinh(x)` | hyperbolic sine | radians |
| `cosh(x)` | hyperbolic cosine | radians |
| `tanh(x) | hyperbolic tangent | radians |

----

### Screenshot

![Screenshot](screenshot.png "Screenshot")
Expand Down

0 comments on commit 7c6391f

Please sign in to comment.