Integer numbers
Integer numbers have no decimal points.
Four supported scales of notations are supported. They are entered with the help of the following symbols:
- binary - digits "0", "1"
- octonary - digits "0" ... "7"
- decimal - digits "0" ... "9"
- hexadecimal - digits "0" ... "9" and letters "A" ... "F"
The notation can also be typed with the help of the symbol with one of the calculation system markers (b, o, d, h).
Integer numbers calculations
Integer numbers in the hexadecimal calculation system appear as digits and letters. Variables and functions can be declared in the same way. For example: DA23 can be declared either as a number or a variable name. To solve this problem, there is a rule: While analyzing such strings, first, a variable or function having the equivalent name is found. If it is found, it is processed. If not, the string is declared a number.
Built-in operators and functions
Arithmetic operations:
- addition and unary plus
- subtraction and unary minus
- multiplication
- division
Arithmetic functions:
- exponentiation
- summation
- production
- factorial
Logical operations:
and - logical AND
or - logical OR
xor - exclusive OR
not - logical NO
"abs" - absolute value
"int" - integral part
"fract" - fraction part
"round" - rounding up or down to the nearest integer number
- Book page terms: