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 : {0}\cup N ->{0,1} and then
define the decimal expansion of a+b in terms of a(n)+b(n)+\gamma (n).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!