Binary Operator "//"

QuantScript's binary root

//
operator implements arithmetic rooting.

Examples:

1 16 // 2 # -> 4
2 16 // 2 // 2 # -> 2
3 -16 // 2 # -> unknown

Table of Operands

Anything not listed here results in an Unknown.
This operator is not commutative -

x // y
is not always the same as
y // x
.
This operator is not type-commutative - the type of
x // y
is not always the same as the type of
y // x
.
This operator is left associative -
x // y // z
is the same as
(x // y) // z
.

Left OperandOperatorRight OperandResult
Negative Number//NumberUnknown
Number//NumberNumber
Number//Series<Number>Series<Number|Unknown>
Negative Number//MultiDataset<Number>MultiDataset<Unknown>
Number//MultiDataset<Number>MultiDataset<Number>
Negative Series<Number>//MultiDataset<Number>MultiDataset<Unknown>
Series<Number>//MultiDataset<Number>MultiDataset<Number>