comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Problems with large records (GNAT) [continued]
Date: Thu, 01 Mar 2001 19:32:05 GMT
Date: 2001-03-01T19:32:05+00:00	[thread overview]
Message-ID: <Vsxn6.42978$5M5.2073369@news1.frmt1.sfba.home.com> (raw)
In-Reply-To: 3A9EC49C.9F5CD8D6@linuxchip.demon.co.uk

>a lot of splits and dividends in their history have very
>small prices back in the '70s.
>...
>With volume, I think that really needs to better than 32 bit range.
>Once you start to calculate weekly or monthly volumes, quite a number
>...
>Fixed point for this wide ranging data doesn't give me the confidence
>I want from a (mission critical) financial application.

  Of course we were in a "minimize storage" mode for speed and
because customers downloaded the data over 14,400 baud modems.  So
internal computation could use large, or even floating point,
variables, but stored data was as compact as possible.  For instance,
the original prices were stored in 16 bits scaled, but were
converted, then multiplied by a "split factor", for computation.
Similarly for aggregated volumes.  Many customers did very trivial
arithmetic, but would be unhappy over rounding errors, so float
(especially for commodities with non power-of-two scale factors)
was undesirable for the raw data.



  reply	other threads:[~2001-03-01 19:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-28 10:44 Problems with large records (GNAT) [continued] Dr Adrian Wrigley
2001-02-28  3:13 ` Robert A Duff
2001-02-28 12:09   ` Dr Adrian Wrigley
2001-02-28  9:51     ` Florian Weimer
2001-02-28 18:35 ` Laurent Guerby
2001-03-01  8:17   ` Dr Adrian Wrigley
2001-03-01  1:58     ` Robert A Duff
2001-03-01 22:18       ` Dr Adrian Wrigley
2001-03-01 17:02         ` Robert A Duff
2001-03-01  7:00     ` tmoran
2001-03-01 21:52       ` Dr Adrian Wrigley
2001-03-01 19:32         ` tmoran [this message]
2001-03-01 19:38     ` Laurent Guerby
2001-03-02 20:32 ` Randy Brukardt
2001-03-07  2:15 ` Dr Adrian Wrigley
replies disabled

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