POV-Ray : Newsgroups : povray.advanced-users : Numerical Precision : Re: Numerical Precision Server Time
4 Oct 2024 17:06:38 EDT (-0400)
  Re: Numerical Precision  
From: Le Forgeron
Date: 9 Sep 2007 12:36:57
Message: <46e42129$1@news.povray.org>
Le 09.09.2007 17:55, Woody nous fit lire :
> Does anybody know of a way, short of modifying the sourcecode, to increase
> the numerical precision that pov ray uses.
> 
> For example say I need to calculate 1/3 to the 100th decimal place. I
> believe it goes upto maybe the 8th or sixteenth place?
> 
> Is there some ini option that can do this?
> 
> What about declaring the value as you want it.
> i.e. instead of writing
> #declcare my_var = 1/3;
> 
> declare it as
> #declare my_var = 0.333333333333333333333333333333333333333333333333333;
> 
> Would this do anything or would it truncate after a certain decimal spot?

I think you need some lecture on computer float representation and
binaries.
Only things like Mathematica keep number as strings of text.

-- 
The superior man understands what is right;
the inferior man understands what will sell.
-- Confucius


Post a reply to this message

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