From 5860237d2f05f6ae45a98569b0d567c2227904c6 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 5 Mar 2016 20:16:14 +0100 Subject: Fix bugs and add a randomised testing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/zdivmod.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/zdivmod.c') diff --git a/src/zdivmod.c b/src/zdivmod.c index e145c27..def98b5 100644 --- a/src/zdivmod.c +++ b/src/zdivmod.c @@ -32,8 +32,6 @@ zdivmod(z_t a, z_t b, z_t c, z_t d) zseti(a, sign); SET_SIGNUM(b, 0); return; - } else if (sign < 0) { - zsub_unsigned(b, d, c); } else { SET(b, c); } -- cgit v1.2.3-70-g09d2