- #1

- 285

- 5

How does computer technology add fractions with different denominators?

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- I
- Thread starter matqkks
- Start date

In summary, computer technology adds fractions with different denominators by using fixed precision floating point format. Early calculators worked in decimal floating point, while modern calculators use binary double precision floating point arithmetic. A calculator performing infinite precision rational arithmetic would evaluate the sum differently, depending on the system. In most cases, the calculator will calculate the sum numerically with limited precision. However, in a computer algebra system, the calculator will calculate the sum by finding the smallest common multiple of the denominators, expanding both fractions, adding them, and simplifying the result.

- #1

- 285

- 5

How does computer technology add fractions with different denominators?

Mathematics news on Phys.org

- #2

Science Advisor

Homework Helper

- 12,225

- 6,918

A desktop calculator will typically work using a fixed precision floating point format. https://en.wikipedia.org/wiki/Floating-point_arithmetic.matqkks said:How does computer technology add fractions with different denominators?

My understanding is that the early calculators worked in decimal floating point. For instance, the HP35 and HP45 had 8 decimal digits of accuracy and the SR51 had 10 decimal digits plus three undisplayed guard digits. If you key in "(3/7) + (5/6)", a modern calculator will likely compute 3/7 using binary double precision floating point arithmetic, compute 5/6 using binary double precision floating point arithmetic and add the two binary fractions [after scaling them to share a common binary exponent if needed]. It will convert the result to decimal for display purposes.

A calculator performing infinite precision rational arithmetic would evaluate the sum differently.

- #3

Mentor

- 37,000

- 13,696

Share:

- Replies
- 10

- Views
- 1K

- Replies
- 9

- Views
- 864

- Replies
- 5

- Views
- 1K

- Replies
- 1

- Views
- 1K

- Replies
- 16

- Views
- 2K

- Replies
- 5

- Views
- 940

- Replies
- 2

- Views
- 2K

- Replies
- 1

- Views
- 979

- Replies
- 1

- Views
- 1K

- Replies
- 4

- Views
- 894