Math::Common
Last update: 17.07.2025Common mathematical operations.
| Operator Name | Description |
|---|---|
| Abs | Returns the absolute value of the operand. |
| Cbrt | Returns the cube root of the operand. |
| Ceil | Returns the smallest integer greater than or equal to the operand. |
| Exp | Returns the exponential of the operand. |
| Floor | Returns the largest integer less than or equal to the operand. |
| Fmod | Returns the floating-point remainder of the first operand divided by the second one. |
| Log | Returns the natural logarithm (in base e) of the operand. |
| Log2 | Returns the common logarithm (in base 2) of the operand. |
| Log10 | Returns the common logarithm (in base 10) of the operand. |
| Max | Returns the maximum value of two operands. |
| Max3 | Returns the maximum value of three operands. |
| MaxN | Returns the maximum value of the elements of the array operand. |
| Min | Returns the minimum value of two operands. |
| Min3 | Returns the minimum value of three operands. |
| MinN | Returns the minimum value of the elements of the array operand. |
| Polynomial | Evaluates polynomial coefficients on the operand. |
| Pow | Returns the first operand raised to the power of the second one. |
| Sign | Returns 1 if the operand is positive, -1 if the operand is negative otherwise 0. |
| Sqr | Returns the square value of the operand. |
| Sqrt | Returns the square root of the operand. |
| Trunc | Returns the largest integer less than or equal to the operand. |
Parent topic:Libraries