3.2 Rational Numbers

The class RationalField represents the field $\mathbf{Q}$ of (arbitrary precision) rational numbers. Each rational number is an instance of the class Rational, which is defined in a Pyrex extension module that wraps GMP rational numbers (the mpq_t type in GMP).



Subsections
See About this document... for information on suggesting changes.