Fraction Library
A C++ Fraction library.
|
This file allows you to compile a library which supports only Fraction or MFraction or both. More...
Go to the source code of this file.
This file allows you to compile a library which supports only Fraction or MFraction or both.
Right now, it is set up to support both Fraction and MFraction classes and their associated operations.
Uncomment the first block (the 3 lines) of code to only have Fraction class functionality. That is, fractions that can be expressed as decimal or improper only. Do not use MFraction specific operations in this case.
If you want to express fractions as improper, mixed or decimal, uncomment the second block (the final 3 lines) of code to only have MFraction class functionality. Do not use Fraction specific operations in this case.
Suffice to say, both blocks should not be commented out at the same time. If you do this, you will lose both Fraction and MFraction functionality.
Definition in file PartialLib.h.