diff --git a/README.md b/README.md index 7d1bb2f..22c745c 100644 --- a/README.md +++ b/README.md @@ -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")