calc
More than just a calculator. It supports variables and user defined macros!
The expression comes after the word calc... Do not expect a prompting screen to popup!
Here will be examples of what you can do:
calc 10:a
In this case, a is assigned to the value 10. Note that variables can be [a-zA-Z]. Think you got the hang of it? Try to solve this:
a
10
[a-zA-Z]
calc (4:a)(a):a
Here is how macros work:
calc {/0}[guaranteed error]
In this case a macro called [guaranteed error] is defined as /0
[guaranteed error]
/0
Here is how you would call the function:
YOU WILL RECEIVE A DIVIDING BY ZERO MESSAGE!!!
An interesting fact about macros is that they can also be used as variables. For example the variable Pi and e are used via calc [Pi]
Pi
e
calc [Pi]
| Shift right $ | Unary rounding
Predefined Functions:
There was an error while loading. Please reload this page.