Create bit-hack.c

This commit is contained in:
Anthony Wang 2021-04-25 16:11:25 -05:00 committed by GitHub
parent 8fdbdbbaf6
commit 80d494ee54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
mocking-bob/bit-hack.c Normal file
View file

@ -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++);}