Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

What do adding, subtracting, multiplying and dividing do for

Jan 31, 2010 6:20AM PST

What do adding, subtracting, multiplying and dividing do for a computer? Or, how does a computer use them?
I know the calculator application uses them, but I think that a computer also uses them for general operation. Am I right? Does a computer use math to run a program; save something; boot an operating system? And if it does, do you know how?

Could you give me some specific examples of how it would be used. So let's say there is an algorithm for saving a document, how does math factor into this command? Or does it? I know the actual text in the program contains no math but does the computer use math somehow to carry out the command?
I'm not sure if that is terribly clear, I really want to know how math is used, not just that it is.

Does anyone have a specific example? Does anyone have an example of where the comp. uses one, or more, of the arithmetic operations to complete a task?

Discussion is locked

- Collapse -
Yes, there are advanced mathematics in computers.
Jan 31, 2010 7:38PM PST
- Collapse -
What do adding, subtracting, multiplying and dividing do for a computer?
Feb 1, 2010 2:09AM PST

Thanks for the reply and that's really helpful. I wonder if anyone could tell me one operation a computer performs in an average pc's day and the math that is involved.

- Collapse -
Computer Math..
Feb 6, 2010 11:55PM PST
- Collapse -
Computer Math..
Feb 7, 2010 3:35AM PST

Thank you for you help.

- Collapse -
I don't think computers do math that way
Feb 1, 2010 9:06AM PST

They just follow a programs instructions. If you want a computer to add 2 and 2 and come up with an answer of 4, you write a program with the instructions to do that. They can't do that on their own.

- Collapse -
They can't do that on their own...
Feb 7, 2010 5:53AM PST

Computers use binary code for every calculation, every click of the mouse, everything that you do on your computer is calculated by your O/S using binary code. It's all explained in the article I attached to my previous post.