A set of blocks that allow you to work with numbers

## Constants

In Varwin XRMS, constants come in two forms, regular digit and mathematical

### Regular digit

A numeric constant block can be used as a field for entering the required numeric value

### Mathematical constants

Mathematical constants are quantities whose value does not change

- Archimedean constant (number Pi)
- Napier’s constant
- Golden ratio
- Square root
- Square root of a half
- Infinity

## Arithmetic operations

Arithmetic operations can be performed with one or two operands. For example:

With one operand:

- Square root
- Module
- A negative number
- Logarithm
- Decimal logarithm
- Exponent e^
- The number 10 to the power of the specified number

With two operands:

- Addition
- Subtraction
- Multiplication
- Division
- Exponentiation

## Trigonometric operations

Block containing the execution of trigonometric operations:

- Sinus
- Cosine
- Tangent
- Cotangent
- Arcsine
- Arccosine
- Arctangent

Note

We remind you that ctg α = 1 / tg α

## Boolean operations

Returns true or false, used with logic blocks. As true parameters can be used:

- Even
- Odd
- Simple
- Whole
- Positive
- Negative
- Divided by

## Rounding operations

Operations of rounding non-integer numbers to an integer. Among the available block parameters, there are functions:

- Round up
- Round to the greater
- Round to the lesser

## Random numbers

### Integer:

A block for generating a random integer whose range can be specified

### Real:

Block for generating a random real number from 0 to 1