Thread: NOT Operations with Bitwise

  1. #1
    Registered User Daftatt's Avatar
    Join Date
    May 2011
    Location
    Colville, Washington
    Posts
    2

    Question NOT Operations with Bitwise

    I fully understand that 0110 & 0011 == 0010

    but I still cant understand the NOT bitwise operations.

    example

    ~0110 == 1001

    can someone please explain this to me like I am a moron, which I just might be because this should be really simple.

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    If it's NOT 0, then it must be 1. If it's NOT 1, then it must be 0.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Bitwise Operations
    By drkidd22 in forum C Programming
    Replies: 2
    Last Post: 11-12-2009, 11:09 PM
  2. Bitwise Operations are getting me mad.
    By pajaro in forum C Programming
    Replies: 3
    Last Post: 05-29-2009, 07:05 AM
  3. bitwise operations
    By barneygumble742 in forum C Programming
    Replies: 10
    Last Post: 09-11-2004, 10:33 AM
  4. bitwise operations
    By andrew_tucker in forum C Programming
    Replies: 2
    Last Post: 11-28-2002, 12:46 AM
  5. bitwise operations in C
    By samps005 in forum C Programming
    Replies: 5
    Last Post: 10-10-2002, 03:35 PM

Tags for this Thread