POV-Ray : Newsgroups : povray.off-topic : Memories : Re: Memories Server Time
30 Jul 2024 08:17:08 EDT (-0400)
  Re: Memories  
From: Invisible
Date: 22 Aug 2011 11:28:17
Message: <4e527591$1@news.povray.org>
On 22/08/2011 04:09 PM, Warp wrote:
> 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.

Yes. But if the quantities you're calculating with are pixel 
coordinates, overflow is highly unlikely to be a problem.


Post a reply to this message

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