POV-Ray : Newsgroups : povray.general : float/double precision : Re: float/double precision Server Time
1 Aug 2024 06:17:53 EDT (-0400)
  Re: float/double precision  
From: dragonmage
Date: 26 Jan 2006 20:35:00
Message: <web.43d977bbbbb99ad95820684d0@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> dragonmage <dra### [at] gmailcom> wrote:
> > Does POVRay use double precision numbers anywhere in its fields or calcs?
>
>   I wonder why you think that 'double' wouldn't be the default type used
> by POV-Ray for its calculations.
In the help provided with the program:
a search on "float" reveals endless references to float,
such as: all floating point functions, vector litterals, user defined
functions,
teh machine epsilon documented is rather large, pretty muich all parameters,
such as global settings, the transformation matrix is 12 float vectors, ...
and so on.

searching on double finds much less.  though there is a para. on 3DNow which
states that POVRay needs double precision.

cheers,

chris
>
>   AFAIK the only places POV-Ray uses 'float' is in color handling (ie.
> the colors of the final image, which end up as pixels in the final image
> file) and mesh coordinates.
>
> --
>


Post a reply to this message

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