How computer multiplies 2 numbers?
Repeated addition would be a very inefficient way to multiply numbers, imagine multiplying 1298654825 by 85324154. Much quicker to just use long multiplication using binary. 1100100 0110111 ======= 0000000 -1100100 –1100100 —0000000 —-1100100 —–1100100 ——1100100 ============== 1010101111100 For floating point numbers scientific notation is used. 100 is 1 * 10^2 (10 to the power of … Read more