Math
Number

A block that outputs numbers.
- Input [type]: none
- Output [type]: value [Number]
Constants

Returns the values of constants frequently used in mathematics.
π(3.141…), e (2.718….), φ (1.618….). sqrt(2) (1.414…), sqrt(1⁄2) (0.707…), or ∞ (infinity).
- Input [type]: none
- Output [type]: constant value [Number]
Arithmetic

Calculates the sum, difference, product, division, or exponentiation of two numbers.
- Input [type]: value1 [Number], value2 [Number]
- Output [type]: calculated value [Number]
Remainder

Returns the remainder from dividing the two numbers.
- Input [type]: value1 [Number], value2 [Number]
- Output [type]: remainder [Number]
Round

Rounds a number to a specified number of decimal places.
Example: round 1.234 to 1 decimal place → 1.2
- Input [type]: number [Number], decimal places [Number]
- Output [type]: rounded number [Number]
Split Decimal

Separates a number into its integer and fractional parts.
Example: 1.234 → [1, 0.234]
- Input [type]: number [Number]
- Output [type]: [integer part, fractional part] array [List]
Square Root, Absolute Value, Logarithm, Exponentiation

Calculates the square root, absolute value, negative, natural logarithm (ln), common logarithm (log), e to the power (e^), or 10 to the power (10^) of the input value.
- Input [type]: value [Number]
- Output [type]: calculated value [Number]
nth Root

Calculates the nth root of a number.
When n=2: square root, n=3: cube root.
Example: 3rd root of 8 → 2
- Input [type]: base number [Number], root index [Number]
- Output [type]: nth root [Number]
Reciprocal

Calculates the reciprocal (1 divided by the number).
Example: reciprocal of 4 → 0.25
- Input [type]: number [Number]
- Output [type]: reciprocal [Number]
Trigonometric Functions

Calculates trigonometric function values (sin, cos, tan, asin, acos, atan) of the input value.
The input unit for sin, cos, tan functions is degrees, and the output unit for asin, acos, atan functions is radians.
- Input [type]: angle [Number]
- Output [type]: trigonometric function value [Number]
Hyperbolic Functions

Calculates hyperbolic function values.
sinh: hyperbolic sine, cosh: hyperbolic cosine, tanh: hyperbolic tangent
Input value unit is radians.
- Input [type]: angle [Number]
- Output [type]: hyperbolic function value [Number]
Constrain

Constrains the input value between minimum and maximum values.
Example: constrain 105 to minimum 1, maximum 100 → 100
- Input [type]: input value [Number], minimum value [Number], maximum value [Number]
- Output [type]: constrained value [Number]
Random Integer

Returns a random integer between the two specified limits, inclusive.
- Input [type]: minimum value [Number], maximum value [Number]
- Output [type]: random integer [Number]
Random Fraction

Returns a random fraction between 0.0 (inclusive) and 1.0 (exclusive).
- Input [type]: none
- Output [type]: random fraction [Number]
Number Properties

Checks if the input value is even, odd, prime, whole, positive, negative, or divisible by a certain number.
- Input [type]: value [Number]
- Output [type]: property match [Digital]
Range Check

Checks if a value falls within a specified range.
You can choose inequality operators to control boundary inclusion.
- Input [type]: minimum value [Number], test value [Number], maximum value [Number]
- Output [type]: within range [Digital]
Linear Scale

Maps an input value from one range to another (linear transformation).
If constrain is true, output is clamped to the output range.
Example: map 3 from [0, 10] to [0, 100] → 30
- Input [type]: input value, input min, input max, output min, output max, constrain flag
- Output [type]: mapped value [Number]
Coordinate Conversion

Converts coordinates between Cartesian and polar systems.
Cartesian: (x, y), Polar: (radius, angle)
Angle is in radians.
- Input [type]: coordinate1 [Number], coordinate2 [Number]
- Output [type]: converted coordinates [List]
List Operations

Performs calculations on the numbers in the list and returns the result.
(sum, minimum, maximum, average, median, mode, standard deviation, random item)
- Input [type]: list [List]
- Output [type]: calculated value [Number]