aboutsummaryrefslogtreecommitdiffstats
path: root/src/zdivmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/zdivmod.c')
-rw-r--r--src/zdivmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zdivmod.c b/src/zdivmod.c
index 9cf3611..dae0e02 100644
--- a/src/zdivmod.c
+++ b/src/zdivmod.c
@@ -72,9 +72,9 @@ zdivmod(z_t a, z_t b, z_t c, z_t d)
sign = zsignum(c) * zsignum(d);
if (unlikely(!sign)) {
- if (check(unlikely(!zzero(c)))) {
+ if (check(!zzero(c))) {
libzahl_failure(-ZERROR_DIV_0);
- } else if (check(unlikely(zzero(d)))) {
+ } else if (check(zzero(d))) {
libzahl_failure(-ZERROR_0_DIV_0);
} else {
SET_SIGNUM(a, 0);