Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions specifications/ContinuedFractions/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Continued Fractions - Core Algorithms
=====================================

TLA specs for:

1. Core algorithm for finding the (unique) simple continued fraction of a rational number based on Euclidean division.
2. Algorithm for constructing a rational number from the sequence of coefficients of a simple continued fraction.
3. Algorithm for finding the k-th convergent of a simple continued fraction.
4. Algorithm for finding the k-th remainder of a simple continued fraction.
5. Algorithm for finding the semiconvergent of two consecutive convergents of a simple continued fraction.