ldiv: Make rem < 0 if a < 0.
authorDanny Milosavljevic <dannym@scratchpost.org>
Mon, 1 Jul 2019 21:02:19 +0000 (23:02 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 9 Sep 2019 14:04:13 +0000 (16:04 +0200)
commit3943155a64220d3749857bebaf22eb72ce953a2d
tree23471da126738186f4035c0efa1d15b7c3321711
parent21bd2c1e9047acdef469d7f7d7348a9a1122588c
ldiv: Make rem < 0 if a < 0.

* lib/mes/div.c (ldiv): Make rem < 0 if a < 0.
lib/mes/div.c