What is the symbol for bitwise negation?

97 Views Asked by At

Which symbol is used for bitwise negation? Eg:

{some_symbol} 0 = 1
{some_symbol} 1 = 0

{some_symbol} 10 = 01
{some_symbol} 01 = 10
1

There are 1 best solutions below

0
On BEST ANSWER

This is more appropriate for some programming language website, but the standard symbol for bitwise negation in C and languages with C-like syntax is the tilde symbol ~. I don't think there's a standard in mathematics; if you need it in a math paper, just define what you want clearly and then use it.