Updates
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#include "libbench2/bench.h"
|
||||
|
||||
int power_of_two(int n)
|
||||
{
|
||||
return (((n) > 0) && (((n) & ((n) - 1)) == 0));
|
||||
}
|
||||
Reference in New Issue
Block a user