only check for positive powers of 2
authorceriel <none@none>
Fri, 4 Oct 1991 10:37:06 +0000 (10:37 +0000)
committerceriel <none@none>
Fri, 4 Oct 1991 10:37:06 +0000 (10:37 +0000)
mach/sparc/ce/ce.src/misc.c

index 4c687b3..8f61b05 100644 (file)
@@ -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))