Shifts the first operand by the specified number of DECIMAL digits.
(NOT BINARY digits!) Positive values of the second operand shift the
first operand left (multiplying by tens). Negative values shift right
(dividing by tens). If the first operand is NaN, or if the shift value is less
than -precision or greater than precision, an INVALID_OPERATION is signaled.
An infinite number is returned unchanged.
Implements the 'shift' function in the specification. (p. 49)
Shifts the first operand by the specified number of DECIMAL digits. (NOT BINARY digits!) Positive values of the second operand shift the first operand left (multiplying by tens). Negative values shift right (dividing by tens). If the first operand is NaN, or if the shift value is less than -precision or greater than precision, an INVALID_OPERATION is signaled. An infinite number is returned unchanged. Implements the 'shift' function in the specification. (p. 49)