aboutsummaryrefslogtreecommitdiff
path: root/lib/power_of_two.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-10-05 17:34:11 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-10-05 17:34:11 +0000
commit12e3edcb11b61334afac46183a79ec51124c5302 (patch)
tree479b9abe7b11f5544e4f409f55aaea3ffa75e833 /lib/power_of_two.c
parent40ccbedc15f45a3b1a00c2942b95e5244d3424a2 (diff)
remove lib/ folder with duplicate source files
svn path=/trunk/externals/fftease/; revision=16340
Diffstat (limited to 'lib/power_of_two.c')
-rw-r--r--lib/power_of_two.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/power_of_two.c b/lib/power_of_two.c
deleted file mode 100644
index 038c6a3..0000000
--- a/lib/power_of_two.c
+++ /dev/null
@@ -1,17 +0,0 @@
-
-int power_of_two(int test)
-{
- int limit = 8192;
- int compare = 1;
- // post("testing what we thing is an int:%d",test);
- do {
- if(test == compare){
- // post("good power of 2 found!");
- return 1;
- }
- compare *= 2;
- } while (compare <= limit);
-
- return 0;
-}
-