From bbe1e3ffdc450fd813eff7259bed7e510b39f395 Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 4 Oct 1991 10:37:06 +0000 Subject: [PATCH] only check for positive powers of 2 --- mach/sparc/ce/ce.src/misc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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))