mul_wrapping
a × b on Int64, wrapping on overflow.
Flags
| Flag | Value |
|---|---|
| Kind | scalar |
| Nulls | a null argument gives null |
| Deterministic | yes |
| Order matters | no |
| Decomposable | no |
Example
A pipeline from the language's tested corpus that uses mul_wrapping, over the example tables.
from orders
derive {w = add_wrapping(qty, 9223372036854775807), s = sub_wrapping(qty, 1), m = mul_wrapping(qty, qty)}In a plan:
{
"args": [
{
"col": 3
},
{
"col": 3
}
],
"fn": "mul_wrapping"
}