Return x - y * n. Here n is the integer nearest the exact value of x / y (if the result is 0 then its sign will be the sign of x).
decimal/Context.remainder_near
Context.remainder_near