I would like to ask question regards multiplying large integers. I would like to multiply two integers of size 32 bits and then multiply the result by 2. The output size should be of size three words each of size 32 bits.
uint32_t a, b; // a and b is of size 32 bits;
uint_t output; // here is my question, what size should i use for output? and how?
output = (a * b) * 2;
Then the size of output should be 32+32+32 (one bit only will be used from this 32) = 96 bits. How to create such output size? and how do define it?
Hope its clear.
Thanks a lot.