|
ADS
Algorithms and Data Structures
|
The exact rational numbers of Knuth (section 4.5.1 of The Art of Computer Programming), beyond the book. More...
Files | |
| file | ADS/numeric/Rational.h |
| The exact rational numbers of Knuth (section 4.5.1 of The Art of Computer Programming), beyond the book: a fraction \( u / u' \) of integers of any length [see BigInteger.h] kept in lowest terms, with \( u' > 0 \). | |
Classes | |
| class | ADS::Rational |
| a fraction in lowest terms, the denominator positive More... | |
The exact rational numbers of Knuth (section 4.5.1 of The Art of Computer Programming), beyond the book.
The definitions, the invariants and the costs of the area are in Theory of numerical algorithms.