home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Amiga / Applications / Mathematiques / Debt.lha / Debt / Debt.doc < prev    next >
Text File  |  1992-09-26  |  1KB  |  35 lines

  1.  
  2.  
  3.                  THE NATIONAL DEBT
  4.  
  5.  
  6.  
  7.     As it's name implies, this is a program dealing with rather large
  8.     numbers.  It will accept two 60 digit numbers and come up with a
  9.     120 digit answer.  Sometimes, you just want to know what 2 to the 40th
  10.     power is exactly.  Maybe, you'd like to see if a division gives a
  11.     (fairly short) repeating decimal.
  12.  
  13.     It will chain calculations and multiply two numbers as long as
  14.     their total length is less than 120 digits.  If they are longer and
  15.     the first has decimal points, it will be truncated.  With just a few
  16.     changes it could be made to calculate almost any length number.
  17.  
  18.     The source code is included.  This is an example of how not to
  19.     write a program.  There was very little planning ahead, and many
  20.     patches to the shortcomings.  It is still only 6036 bytes as opposed to
  21.     the Commodore calculator's 7996.
  22.  
  23.     Thanks to the public domain programs DME by Matt Dillon, a68k by
  24.     Charlie Gibbs and Blink from the Software Distillery.
  25.  
  26.     I don't think it's worth copywriting.  Anybody with any comments,
  27.     suggestions, complaints, bug reports or particularly donations can
  28.     reach me by writing to:
  29.  
  30.                Martin Gitelson
  31.                511 W. Evergreeen Blvd.
  32.                Vancouver, Wa., 98660
  33.                USA
  34.  
  35.