This commit is contained in:
2025-07-12 12:17:44 +03:00
parent c759f60ff7
commit 792e1b937a
3507 changed files with 492613 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
#include "libbench2/bench.h"
int power_of_two(int n)
{
return (((n) > 0) && (((n) & ((n) - 1)) == 0));
}