shift

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 number 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)

  1. D shift(D x, D y, Context context)
    D
    shift
    (
    D
    U = D
    )
    (
    in D x
    ,
    in D y
    ,
    Context context = D.context
    )
  2. D shift(D arg, U n, Context context)

Meta