Results 1 to 3 of 3

Thread: a and b

  1. #1

    Thread Starter
    Fanatic Member duc's Avatar
    Join Date
    Oct 2002
    Location
    STEAM
    Posts
    702

    a and b

    (a+b) - (a AND b) = ?

    the (a AND b ) is a bitwise AND operation of a and b

    and the answer is?

  2. #2
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111

    Re: a and b

    Wouldn't there be like two solutions?
    (a+b)-1
    or
    (a+b)

  3. #3

    Thread Starter
    Fanatic Member duc's Avatar
    Join Date
    Oct 2002
    Location
    STEAM
    Posts
    702

    Re: a and b

    Ah, I figured it out. For the sake of leaving an answer its:

    (a OR b)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width