Results 1 to 2 of 2
  1. #1
    ijay is offline Member
    Join Date
    Oct 2011
    Rep Power

    Default code for binary arithmetic

    I'm trying to build a software to calculate binary numbers, can someone help me with the code to use?
    i.e.addition, subtraction, etc

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Voorschoten, the Netherlands
    Blog Entries
    Rep Power

    Default Re: code for binary arithmetic

    Can you make a truth table? with variables a, b and c, where c is the carry bit and a and b are the bits to be added or subtracted ...

    kind regards,

    Build a wall around Donald Trump; I'll pay for it.

Similar Threads

  1. Replies: 1
    Last Post: 03-09-2011, 03:45 PM
  2. ASCII to binary code
    By Vagabond.drv in forum New To Java
    Replies: 12
    Last Post: 01-13-2011, 01:52 PM
  3. Code for image to binary
    By Deva in forum New To Java
    Replies: 3
    Last Post: 12-24-2009, 04:48 PM
  4. code for binary tree in jsp
    By ajay kumar in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 11-17-2009, 06:45 AM
  5. converting image to binary code n vice versa
    By nupurashi in forum Advanced Java
    Replies: 4
    Last Post: 04-01-2009, 07:27 PM

Posting Permissions

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