A common request I get for Console Calculator is support for a bitwise NOT operator (the ~ symbol in many programming languages). The reason I have not yet implemented this is that CCalc has a very large intrinsic bit width (200+ bits). A proper NOT operator cannot ignore leading zeros, so how many bits should I limit to? Should ~0×80 be 0x7F or 0xFF7F or 0xFFFFFF7F, etc.
Anyway, you can define your own NOT function to the bit width you prefer.
Below are a few additional useful functions which I like to have around.
Do you have any useful custom functions you’ve defined? Comment.