POV-Ray : Newsgroups : povray.newusers : rounding : Re: rounding Server Time
28 Jul 2024 22:25:02 EDT (-0400)
  Re: rounding  
From: Alain
Date: 30 Jun 2008 15:58:37
Message: <48693aed$1@news.povray.org>
andrel nous illumina en ce 2008-06-29 18:32 -->

> yes (except perhaps on very old equipment that had a sign bit and not 
> 2s-complement), but that does not stop people from expecting that
> floor(-x+.5)==-floor(x+.5) everywhere.

That expectation come from the fact that many peoples considere 0 to be smaler 
than -1, whitch is false. Many peoples have the tendency of ignoring the sign 
when quickly comparing values, only concidering the absolute value instead of 
the real one.


-- 
Alain
-------------------------------------------------
A short cut is the longest distance between two points.


Post a reply to this message

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