From: ceriel Date: Fri, 4 Oct 1991 10:37:06 +0000 (+0000) Subject: only check for positive powers of 2 X-Git-Tag: release-5-5~770 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=bbe1e3ffdc450fd813eff7259bed7e510b39f395;p=ack.git only check for positive powers of 2 --- diff --git a/mach/sparc/ce/ce.src/misc.c b/mach/sparc/ce/ce.src/misc.c index 4c687b3b5..8f61b054a 100644 --- a/mach/sparc/ce/ce.src/misc.c +++ b/mach/sparc/ce/ce.src/misc.c @@ -10,10 +10,8 @@ int n, *ref_exp; int exp; exp= 0; - if (n<0) - n= -n; - if (!n) + if (n <= 0) return 0; while (!(n % 2))