Thread: IBM bitwise addition

  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    58

    IBM bitwise addition

    A while back, I saw a function (meaning a single executable line, and NOT an algorithm), that somehow properly added two numbers and was apparently patented by IBM. Has anyone seen this? Does anyone happen to remember it?

    If anyone knows it, please post here.


    If anyone is wondering why I am not just adding instead...please don't post here :P

  2. #2
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Quote Originally Posted by arcaine01 View Post
    A while back, I saw a function (meaning a single executable line, and NOT an algorithm), that somehow properly added two numbers and was apparently patented by IBM. Has anyone seen this? Does anyone happen to remember it?

    If anyone knows it, please post here.


    If anyone is wondering why I am not just adding instead...please don't post here :P
    That just doesn't make any sense. How can there be addition without some sort of algorithm? What you're talking about is essentially how machine instructions work. Place a value in a register, call a function (eg: the opcode), and get a result back. The algorithm is still there, only it is implemented in hardware rather than software.

  3. #3
    Registered User
    Join Date
    Oct 2008
    Location
    TX
    Posts
    2,059
    Sebastiani makes a good point. Cant get anywhere w/o a sound algorithm, besides you're looking for addition using only bitwise operators.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Bitwise Questions
    By someprogr in forum C Programming
    Replies: 8
    Last Post: 12-14-2008, 06:45 PM
  2. RFC: Brute force bitwise addition
    By AverageSoftware in forum C Programming
    Replies: 5
    Last Post: 07-21-2007, 04:13 PM
  3. need some help with binary addition.
    By InvariantLoop in forum C++ Programming
    Replies: 21
    Last Post: 01-27-2005, 06:52 AM
  4. Problems with an addition operator
    By jamjar in forum C++ Programming
    Replies: 12
    Last Post: 03-28-2003, 01:47 PM