Arithmetic on Continued Fractions
Abstract
Gosper developed algorithms for adding, subtracting, multiplying, or dividing two continued fractions, and for solving quadratics with CF coefficients, getting a CF as the result. Here we present modified versions of those algorithms which avoid all difficulties with infinite loops. We have implemented these algorithms in Haskell.
- Publication:
-
arXiv e-prints
- Pub Date:
- December 2024
- DOI:
- arXiv:
- arXiv:2412.19929
- Bibcode:
- 2024arXiv241219929C
- Keywords:
-
- Mathematics - Combinatorics;
- Mathematics - Number Theory;
- 05-08 (Primary) 05-01;
- 65Y04 (Secondary)