home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / arch / 10560 < prev    next >
Encoding:
Text File  |  1992-11-09  |  1.8 KB  |  35 lines

  1. Newsgroups: comp.arch
  2. Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!fs7.ece.cmu.edu!crabapple.srv.cs.cmu.edu!nickh
  3. From: nickh@CS.CMU.EDU (Nick Haines)
  4. Subject: Re: integer/BCD/... dollars (was IEEE used for Dollars and Cents)
  5. In-Reply-To: torek@horse.ee.lbl.gov's message of 9 Nov 1992 02:33:05 GMT
  6. Message-ID: <BxGrnB.AID.1@cs.cmu.edu>
  7. Originator: nickh@VOILA.VENARI.CS.CMU.EDU
  8. Sender: news@cs.cmu.edu (Usenet News System)
  9. Nntp-Posting-Host: voila.venari.cs.cmu.edu
  10. Organization: School of Computer Science, Carnegie Mellon University
  11. References: <2664312@zl2tnm.gen.nz> <27311@dog.ee.lbl.gov>
  12. Date: Mon, 9 Nov 1992 19:33:06 GMT
  13. Lines: 20
  14.  
  15. But of course nobody is actually going to be representing the national
  16. debt using 64-bit arithmetic (as if someone in Washington runs the
  17. federal budget on Lotus 1-2-3 :->). We're talking about the
  18. balance-sheets of actual companies, which are probably an order of
  19. magnitude smaller even for really big conglomerates (anyone got any
  20. numbers?). Trillions do occur in such financial calculations,
  21. especially when trading in countries like Italy or Bolivia (where you
  22. don't reserve those three places for mills), but not very often.
  23. Besides which, they are generally down at the bottom line of the
  24. ledger (where the mills have disappeared; they are used for
  25. intermediate results).  In fact, none of the financial software I
  26. wrote or used in Britain saved more than two places past the pennies
  27. (for percentage totalling calculations: calculate a line-item
  28. percentage, total line-by-line, and calculate a total percentage
  29. separately; if you haven't kept those digits the totals disagree. But
  30. the total value of the transaction is a whole number of pennies).
  31.  
  32. Nick "if a cent is $0.01, shouldn't a mill be $0.001?" Haines
  33. nickh@cmu.edu
  34.  
  35.