POV-Ray : Newsgroups : povray.newusers : rounding : Re: rounding Server Time
28 Jul 2024 22:31:28 EDT (-0400)
  Re: rounding  
From: Chris B
Date: 26 Jun 2008 07:16:02
Message: <48637a72$1@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message 
news:48635c1a@news.povray.org...
> Chris B <nom### [at] nomailcom> wrote:
>> But a result which is not necessarily the same each time you calculate 
>> the
>> answer using the same dataset as input.
>
>  You should never rely on getting an exact result when calculating with
> floating point numbers anyways.
>

No, but, a computer that doesn't give the same results when you run an 
algorithm twice in a row would be hell to debug. So you'd expect 'if 
(1/3=1/3)' to always give the same answer, not true half the time and false 
the other half.

Regards,
Chris B.


Post a reply to this message

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