Repository navigation
Notation
Here, you'll find an overview of our standardized math notation:
Integers are represented by their usual decimal digits. Negative integers are preceded by a minus (
eg. 0, 4, -67, 10374
Rational numbers are just digits, separated by a period, or integers.
e.g. 3.2, -6.3422442, 2947
Real numbers are either integers, rational numbers, or, if they are irrational, they must be defined by an arithmetic operation. Some irrational numbers are available as native variables (eg.
e.g. 3, -5.7, sqrt(2), e, pi
There is no variable for the imaginary number
e.g. 3 * sqrt(-1) + 5
These basic arithmetic operations all require to operands. Operands may be all expressions (e.g. numbers, variables, functions etc.)
These are the available operations:
| Operation | Operator | Example |
|---|---|---|
| Addition | + |
3 + 5 |
| Subtraction | - |
3 - 5 |
| Multiplication | * |
3 * 5 |
| Division | / |
3 / 5 |
Any number a^b. For example, x^2.