POV-Ray : Newsgroups : povray.advanced-users : Square roots of negative numbers in isosurfaces? : Re: Square roots of negative numbers in isosurfaces? Server Time
30 Jul 2024 12:19:44 EDT (-0400)
  Re: Square roots of negative numbers in isosurfaces?  
From: Greg M  Johnson
Date: 17 Jan 2000 16:20:44
Message: <388386DC.48C2398@my-dejanews.com>
Matt Giwer wrote:

> "Greg M. Johnson" wrote:
> > what is x^a?
>     x to the power a or exp( a * log(x) )
>     If a = 2 then it would be x*x

Nope.  You cannot take the ln(x) of a negative x! Therefore, that's NOT what povray
is doing!  My guess is

x^a= sign(x)^int(a)* abs(x)^a .

My re-writing of the function is "defined" for all values of x and a, whereas x^a is
NOT.

Again, I hound this point not to attack the giants whose shoulder we stand on--pov
developers--but to have fun at solving a mathematical mystery : what IS pov doing?


Post a reply to this message

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