blob: 52f860d36fbf79d151fa6aa7462fe610a6964180 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <stdio.h>
int another_function(int x) { return! ((~(~0U>>1)|x)&x -1) ;}
int main(void)
{
int i;
for (i = 0; i < 256; ++i)
printf("%3d: %d\n", i, another_function(i));
return 0;
}
|