Numeric operators
🟢 18 of 18 operators all ok · vtlengine 1.10.0rc3 (9e1c81a6) · pandas 2.3.3 · DuckDB 1.5.5
🟢 all ok🟡 partially implemented🛡️ refused with an error🔴 not implemented or crash🔵 engines differ ✅ match · ❌ wrong result · 🛡 guarded error (code) · 💥 crash · 📌 team decision
---
config:
flowchart:
useMaxWidth: false
---
flowchart LR
classDef ok fill:#d4edda,stroke:#28a745,color:#000
classDef partial fill:#fff3cd,stroke:#ffc107,color:#000
classDef refused fill:#d4edda,stroke:#28a745,stroke-width:3px,stroke-dasharray: 2 2,color:#000
classDef missing fill:#f8d7da,stroke:#dc3545,color:#000
classDef diverge fill:#cce5ff,stroke:#007bff,color:#000
classDef block fill:#2b3a4a,stroke:#2b3a4a,color:#fff,font-weight:bold
classDef ext fill:#fff,stroke:#666,color:#000,stroke-dasharray: 5 5
B["Numeric operators"]:::block
numeric__unary_plus["Unary plus · +<br/>🟢3"]:::ok
numeric__unary_minus["Unary minus · -<br/>🟢3"]:::ok
numeric__addition["Addition · +<br/>🟢7"]:::ok
numeric__subtraction["Subtraction · -<br/>🟢7"]:::ok
numeric__multiplication["Multiplication · *<br/>🟢7"]:::ok
numeric__division["Division · /<br/>🟢7"]:::ok
numeric__modulo["Modulo · mod<br/>🟢7"]:::ok
numeric__round["Rounding · round<br/>🟢11"]:::ok
numeric__trunc["Truncation · trunc<br/>🟢11"]:::ok
numeric__ceil["Ceiling · ceil<br/>🟢3"]:::ok
numeric__floor["Floor · floor<br/>🟢3"]:::ok
numeric__abs["Absolute value · abs<br/>🟢3"]:::ok
numeric__exp["Exponential · exp<br/>🟢3"]:::ok
numeric__ln["Natural logarithm · ln<br/>🟢3"]:::ok
numeric__sqrt["Square root · sqrt<br/>🟢3"]:::ok
numeric__power["Power · power<br/>🟢5"]:::ok
numeric__log["Logarithm · log<br/>🟢5"]:::ok
numeric__random["Random · random<br/>🟢3"]:::ok
numeric__unary_plus --- B
numeric__unary_minus --- B
numeric__addition --- B
numeric__subtraction --- B
numeric__multiplication --- B
numeric__division --- B
numeric__modulo --- B
numeric__round --- B
numeric__trunc --- B
B --- numeric__ceil
B --- numeric__floor
B --- numeric__abs
B --- numeric__exp
B --- numeric__ln
B --- numeric__sqrt
B --- numeric__power
B --- numeric__log
B --- numeric__random
click numeric__unary_plus href "unary_plus.html"
click numeric__unary_minus href "unary_minus.html"
click numeric__addition href "addition.html"
click numeric__subtraction href "subtraction.html"
click numeric__multiplication href "multiplication.html"
click numeric__division href "division.html"
click numeric__modulo href "modulo.html"
click numeric__round href "round.html"
click numeric__trunc href "trunc.html"
click numeric__ceil href "ceil.html"
click numeric__floor href "floor.html"
click numeric__abs href "abs.html"
click numeric__exp href "exp.html"
click numeric__ln href "ln.html"
click numeric__sqrt href "sqrt.html"
click numeric__power href "power.html"
click numeric__log href "log.html"
click numeric__random href "random.html"
Operators
Operator |
Status |
Forms |
|---|---|---|
🟢 |
3 |
|
🟢 |
3 |
|
Addition |
🟢 |
7 |
🟢 |
7 |
|
🟢 |
7 |
|
Division |
🟢 |
7 |
Modulo |
🟢 |
7 |
Rounding |
🟢 |
11 |
Truncation |
🟢 |
11 |
Ceiling |
🟢 |
3 |
Floor |
🟢 |
3 |
Absolute value |
🟢 |
3 |
Exponential |
🟢 |
3 |
🟢 |
3 |
|
Square root |
🟢 |
3 |
Power |
🟢 |
5 |
Logarithm |
🟢 |
5 |
Random |
🟢 |
3 |
Types
Operator |
number |
integer |
|---|---|---|
in · out |
||
in · out |
||
in · out |
||
in · out |
||
in · out |
||
in · out |
||
in · out |
||
in · out |
in · out |
|
in · out |
in · out |
|
in |
out |
|
in |
out |
|
in · out |
||
in · out |
||
in · out |
||
in · out |
||
in · out |
||
in · out |
in |
|
in · out |
in |
Forms that are not green
Every form is 🟢 or 🛡️.