home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH10 / A10223.TXT < prev    next >
Encoding:
Text File  |  1993-09-24  |  206 b   |  5 lines

  1. In this implementation of the Fraction class, only the numerator
  2. can have a negative value.  These lines ensure that the
  3. denominator is always positive by transferring a negative sign to
  4. the numerator.
  5.