POV-Ray : Newsgroups : povray.off-topic : Memories : Re: Memories Server Time
30 Jul 2024 08:15:41 EDT (-0400)
  Re: Memories  
From: Warp
Date: 22 Aug 2011 11:09:24
Message: <4e527124@news.povray.org>
Invisible <voi### [at] devnull> wrote:
> You realise that all of the quantities involved are rational, right? And 
> that a rational number is just two integers?

  In practice the integers have a maximum value they can hold, so too much
precision in your rational value can easily overflow either (or both) of
the integers.

  (If you were to use integers of unbounded size, you might just as well
use floating point values. They would be faster too.)

-- 
                                                          - Warp


Post a reply to this message

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