POV-Ray : Newsgroups : povray.off-topic : Damn that's sweet. : Re: Damn that's sweet. Server Time
3 Sep 2024 21:19:12 EDT (-0400)
  Re: Damn that's sweet.  
From: Warp
Date: 27 Jul 2010 10:41:39
Message: <4c4ef023@news.povray.org>
Invisible <voi### [at] devnull> wrote:
> Warp wrote:
> > Paul Fuller <pgf### [at] optusnetcomau> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.