How computer multiplies 2 numbers?

Posted by ckv on Stack Overflow See other posts from Stack Overflow or by ckv
Published on 2010-06-17T08:32:00Z Indexed on 2010/06/17 8:43 UTC
Read the original article Hit count: 212

How does a computer perform a multiplication on 2 numbers say 100 * 55.

My guess was that the computer did repeated addition to achieve multiplication. Of course this could be the case for integer numbers. However for floating point numbers there must be some other logic.

Note: This was asked in an interview.

© Stack Overflow or respective owner

Related posts about interview-questions

Related posts about computer-science