POV-Ray : Newsgroups : povray.text.scene-files : Gaussian random numbers : Re: Gaussian random numbers Server Time
5 Jul 2024 12:12:55 EDT (-0400)
  Re: Gaussian random numbers  
From: Frits van Bommel
Date: 2 Jul 2001 03:19:27
Message: <3b40207f@news.povray.org>
"Reusser" <reu### [at] chorusnet> schreef in bericht
news:3B3FACCE.EB5780BF@chorus.net...
> Warp wrote:
> >   Isn't log(e) equal to 1?
>
> It depends who you ask.  log BASE E of e is one, but pov-ray assumes that
the
> base is 10.  This gives you 10^x = e, which is something like .434.  I
don't
> know how it used to be, but now the assumed base of a log is 10.  Looking
at
> my dad's 1970's textbook, it appears to use e.

In mathematics, log(10)=1 and ln(e)=1, but from the pov-ray help files
(float functions):

# log(A) Natural logarithm of A. Returns the natural logarithm base e of the
value A.

So pov-ray doesn't seem to follow the mathematical standard.

    Frits van Bommel


Post a reply to this message

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