Question: Describe an algorithm for adding two infinite decimals. You should work from left to right , determining the decimal expansion in order, as much as
Describe an algorithm for adding two infinite decimals. You should work from left to right
determining the decimal expansion in order, as much as possible. When are you assured that
you know the integer part of the sum? In what circumstance does it remain ambiguous?
HINT: Given infinite decimals a and b define a carry function gamma : cup N and then
define the decimal expansion of ab in terms of anbngamma n
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
