3. Arithmetic

Arithmetic is in postfix notation, along with every other operator in O.

3.1. Simple Arithmetic

Numbers are the easiest objects to modify. Doing basic arithmetic is as easy as putting the sign you want.

3.1.1. Addition

Addition uses the + operator.

>>> 12+o
3

3.1.2. Subtraction

Subtraction uses the - operator.

>>> 75-o
2

3.1.3. Multiplication

Multiplication uses the * operator.

>>> 85*o
40

3.1.4. Division

Division uses the / operator.

>>> 42/o
2

3.1.4.1. Remainders

Remainders will go out to 6 decimal places.

>>> 54/o
1.25
>>> 5/3
1.666667