public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e07baf2
)
only check for positive powers of 2
author
ceriel
<none@none>
Fri, 4 Oct 1991 10:37:06 +0000
(10:37 +0000)
committer
ceriel
<none@none>
Fri, 4 Oct 1991 10:37:06 +0000
(10:37 +0000)
mach/sparc/ce/ce.src/misc.c
patch
|
blob
|
history
diff --git
a/mach/sparc/ce/ce.src/misc.c
b/mach/sparc/ce/ce.src/misc.c
index
4c687b3
..
8f61b05
100644
(file)
--- 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))