...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Home | Libraries | People | FAQ | More |
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.
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.