Fix remainder exceptions and directed-rounding results (bugs 15480, 15485).