Can someone explain to me what ~ this operator does?
I have found this example on w3school
~ NOT x = ~ 5 ~0101 1010 10
But I don't really understand it. To me, it seems like it's used for reversing something but I also had to use this operator for on operation where I wanted to divide a number to the rest.