| Home | Libraries | People | FAQ | More

# Rational Number library

The header rational.hpp provides an implementation of rational numbers. The implementation is template-based, in a similar manner to the standard complex number class.

This implementation is intended for general use. If you are a number theorist, or otherwise have very stringent requirements, you would be advised to use one of the more specialist packages available.

- Documentation (HTML).
- Header rational.hpp.
- See the documentation for links to sample programs.
- Download all of Boost (ZIP format).
- Submitted by Paul Moore.

Revised December 14, 1999

© Copyright Paul Moore 1999. Permission to copy, use, modify, sell and distribute this document is granted provided this copyright notice appears in all copies. This document is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.