|
![](/i/fill.gif) |
Invisible <voi### [at] dev null> wrote:
> Warp wrote:
> > Paul Fuller <pgf### [at] optusnet com au> wrote:
> >> The 'packed decimal' format was really perfect for banks and similar.
> >
> > I really can't understand why. The user doesn't need to know how
> > integers are represented internally, so why would he care?
> You know that 1/10 can't be exactly represented in binary, but can be
> represented exactly in decimal, right?
And 1/3 cannot be represented exactly in *any* base being currently
used in any computer system. So what?
Besides, 1/10 isn't an integer, so what would BCD integer registers
help that? Any solution you devise will also work with plain binary
registers as well.
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |