FLOATING POINT ADDITION RULES:
* Choose the number with the smaller exponent.
* Shift its mantissa right until the exponents of both the numbers are equal.
* Add the mantissas.
* Determine the sign of the result.
* Normalize the result if necessary and truncate/round to the number of mantissa bits.
* Choose the number with the smaller exponent.
* Shift its mantissa right until the exponents of both the numbers are equal.
* Add the mantissas.
* Determine the sign of the result.
* Normalize the result if necessary and truncate/round to the number of mantissa bits.
0 comments:
Post a Comment