diff options
author | Anthony Wang | 2021-04-25 16:11:25 -0500 |
---|---|---|
committer | GitHub | 2021-04-25 16:11:25 -0500 |
commit | 80d494ee54c7506f60d031b4dc5d942f524422f6 (patch) | |
tree | a62151824905603f02763b3220c8f4ef92cc28eb /mocking-bob | |
parent | 8fdbdbbaf6837e1df3adca520fc61031b4289bcd (diff) |
Create bit-hack.c
Diffstat (limited to 'mocking-bob')
-rw-r--r-- | mocking-bob/bit-hack.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mocking-bob/bit-hack.c b/mocking-bob/bit-hack.c new file mode 100644 index 0000000..a462ec6 --- /dev/null +++ b/mocking-bob/bit-hack.c @@ -0,0 +1,2 @@ +double P=3.141592653;//Nothing-up-my-sleeve! +main(int n,char**v){char*c=v[1];while(*c)putchar((*(int*)&P>>(*c&31)&1)<<5^*c++);} |