How do I detect overflow while multiplying two 2's complement integers?

Posted by eSKay on Stack Overflow See other posts from Stack Overflow or by eSKay
Published on 2010-04-26T13:53:16Z Indexed on 2010/04/26 13:53 UTC
Read the original article Hit count: 818

I want to multiply two numbers, and detect if there was an overflow. What is the simplest way to do that?

© Stack Overflow or respective owner

Related posts about algorithm

Related posts about twos-complement