Addition and multiplication of floating point arithmetic

Explain how the addition & multiplication can be carried out in the floating point arithmetic?

E

Expert

Verified

In floating point arithmetic, multiplication is determined as follows,

Let f1 = M1*2c1 and f2 = M2*2c2. Then f3 = f1*f2 = (M1*M2) 2(c1+c2)

That means, mantissa is multiplied by using the fixed-point arithmetic and exponents are added.  The sum of two floating-point numbers is performed by shifting the bits of mantissa of smaller number to the right until the exponents of two numbers are equal and then adding mantissas.

   Related Questions in Electrical Engineering

©TutorsGlobe All rights reserved 2022-2023.