home *** CD-ROM | disk | FTP | other *** search
- The data members of this class are two integers. The integer
- "num" represents the numerator of a Fraction, and the integer
- "denom" represents the denominator. From this information, you
- can deduce some, but not all, implementation details of the class.
- You cannot tell how the sign is stored, or if Fractions have been
- reduced to their simplest form. For example, you cannot tell if
- -4/6 is stored as -4 over 6, 4 over -6, -2 over 3, or 2 over -3.
-