POV-Ray : Newsgroups : povray.general : Error with pow() : Re: Error with pow() Server Time
4 Aug 2024 08:18:35 EDT (-0400)
  Re: Error with pow()  
From: Micha Riser
Date: 14 Jun 2003 10:06:53
Message: <3eeb2bfd@news.povray.org>
Tim Nikias v2.0 wrote:

> My Specs:
> Win2000, Athlon XP2400+, 786MB DDR
> 
> So, here goes minimum code:
> 
>  #local _Light=-0.47443615353120855;
> // <- Replace latest 7 with 69 or with 71 to see change
>  #local _Pow=1/0.49999999999999997227;
> #local C_Spec=pow( _Light, _Pow );
>  #debug concat(str(abs(C_Spec),1,20),"\n")
> 

To me it looks like you're trying to calculate a fractional power of a
negative number... what do you expect to get as result?


-- 
POV-Ray Objects Collection: http://objects.povworld.org


Post a reply to this message

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