POV-Ray : Newsgroups : povray.general : Re: (X <= D) is not equal ((X<D) | (X=D)) : Re: (X <= D) is not equal ((X<D) | (X=D)) Server Time
9 Aug 2024 23:26:20 EDT (-0400)
  Re: (X <= D) is not equal ((X<D) | (X=D))  
From: Peter J  Holzer
Date: 25 Apr 2000 20:02:38
Message: <slrn8gc7rt.rg0.hjp-usenet@teal.h.hjp.at>
On 25 Apr 2000 06:55:13 -0400, Warp wrote:
>Peter J. Holzer <hjp### [at] sikituwsracat> wrote:
>: In my scene files one pov unit is
>: always one meter, whether I am modelling the circuits of a microchip or
>: the whole solar system. 
>
>  Bad idea. You will get lots of accuracy problems that way. Floating
>point numbers are inaccurate for extremely huge and small values; 

This is wrong. FP numbers have exactly the same precision regardless of
the scale (unless you get into the range of denormalized numbers).

>  (So you should not be surprised if you put some object at
><1000000000000000, 0, 0> and another at <1000000000000001, 0, 0> and they
>end at the exact same place...)

Actually, I would be surprised. There are still three binary digits left
:-)

	hp


-- 
   _  | Peter J. Holzer    | Nicht an Tueren mangelt es,
|_|_) | Sysadmin WSR       | sondern an der Einrichtung (aka Content).
| |   | hjp### [at] wsracat      |    -- Ale### [at] univieacat
__/   | http://www.hjp.at/ |       zum Thema Portale in at.linux


Post a reply to this message

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