company logo

Value :: operator>> - Shift right operator

For numeric values, the operators will shift the binary value number of positions to right, which means dividing the left operand value by (2**right operand). The operation is an ordinary binary operation returning the result as INT value in a temporary value handle. Before shifting, the right operand is converted into an integer value.

When the first operand is not numeric, or when the second operand cannot be converted into an integer value, the function throws an exception.

Return value:  Value handle ( odaba::Value  )

A value handle refers to a (usually) opened value. Invalid value handles may cause an exception.

Implementation details