#define A 0xf0 #define B 0xcc #define C 0xaa
For example, A^B^C=150. A^(~B&C)=210. And so on...
Also mentioned by Fabian here: https://twitter.com/rygorous/status/1187032693944410114