comp.lang.ada
 help / color / mirror / Atom feed
From: "Robert I. Eachus" <rieachus@attbi.com>
Subject: Re: interest computing problem
Date: Mon, 22 Sep 2003 00:44:39 GMT
Date: 2003-09-22T00:44:39+00:00	[thread overview]
Message-ID: <3F6E4600.2020901@attbi.com> (raw)

 > That is definitely something that I need to look into.. making this 
program as you said a little more robust.

This is why it is such a good idea to 'echo back' the input data as your 
program sees it. There are all sorts of conversion and accuracy issues, 
plus the fact that your program can never tell if the way it interprets 
the numbers is the way that the user of the program intended.( I would 
avoid anthromorphizing the software here, except that makes it even more 
complicated to understand. The user may be a later edition of the 
author, as in this case. But from the program's point of view, the 
assumptions never changed...) If the percentage rate had been 'echoed' 
as 0.02% you would have seen the mistate immediately--or at least sooner.




             reply	other threads:[~2003-09-22  0:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-22  0:44 Robert I. Eachus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-09-16 15:27 interest computing problem Andrew
2003-09-16 15:54 ` Ludovic Brenta
2003-09-16 17:21   ` tmoran
2003-09-17  4:26     ` Andrew
2003-09-16 21:52 ` Robert I. Eachus
2003-09-17  3:48   ` Andrew
2003-09-17  4:28     ` Andrew
2003-09-17  5:18     ` tmoran
2003-09-17  7:47       ` Andrew
2003-09-17 16:05         ` Andrew
2003-09-17 16:32           ` Martin Dowie
2003-09-19  4:07 ` Leon Winslow
2003-09-21 22:55   ` Andrew
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox