From f6cb7f3e7382a19a6d6d9990c243ffb8a666182d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 13 Mar 2016 05:30:01 +0100 Subject: Optimisations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/zgcd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/zgcd.c') diff --git a/src/zgcd.c b/src/zgcd.c index 70bce64..9b1d451 100644 --- a/src/zgcd.c +++ b/src/zgcd.c @@ -16,15 +16,15 @@ zgcd(z_t a, z_t b, z_t c) zahl_char_t uv, bit; int neg; - if (!zcmp(b, c)) { + if (EXPECT(!zcmp(b, c), 0)) { SET(a, b); return; } - if (zzero(b)) { + if (EXPECT(zzero(b), 0)) { SET(a, c); return; } - if (zzero(c)) { + if (EXPECT(zzero(c), 0)) { SET(a, b); return; } -- cgit v1.2.3-70-g09d2