wasee Posted August 12, 2007 Share Posted August 12, 2007 How do calculators (and computers) add ,subtract etc.? I know it is done through code but how? I shall be grateful if someone helps me understand these very basic ideas. Link to comment Share on other sites More sharing options...
Klaynos Posted August 12, 2007 Share Posted August 12, 2007 The numbers are converted into a binary number, these can then be mathematically manipulated using logic gates... Most of the time computers only have adding circuits, and use clever number systems so adding 2 numbers of a set form, can do the same as subtracting them. Have a look in wikipedia at logic gates, binary, and two's complement. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now