POV-Ray : Newsgroups : povray.advanced-users : Numerical Precision : Re: Numerical Precision Server Time
4 Oct 2024 17:07:18 EDT (-0400)
  Re: Numerical Precision  
From: Orchid XP v3
Date: 9 Sep 2007 12:45:15
Message: <46e4231b@news.povray.org>
Woody wrote:
> Does anybody know of a way, short of modifying the sourcecode, to increase
> the numerical precision that pov ray uses.

Question #1: Why would you want this?

> 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?

Not quite.

POV-Ray (and most other computer programs) uses a system of 
floating-point numbers. So if you do something like

   X = 0.000000000000000000000000000000000000000000000000025

you'll probably get back what you put in. If, however, you do

   X = 7.000000000000000000000000000000000000000000000000025

you'll probably get just 7.

It's not how far from the decimal point it is, it's how far from the 
left-most non-zero digit it is. ;-)

Again, why do you want more precision? What's the problem?

-- 
http://blog.orphi.me.uk/


Post a reply to this message

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