POV-Ray : Newsgroups : povray.general : Error with pow() : Re: Error with pow() Server Time
5 Nov 2024 05:25:18 EST (-0500)
  Re: Error with pow()  
From: Warp
Date: 14 Jun 2003 10:42:05
Message: <3eeb343d@news.povray.org>
Tim Nikias v2.0 <tim### [at] gmxde> wrote:
> pow( abs(_light), int(_Pow)).

  There's no need to convert _Pow to an integer. There's absolutely
nothing problematic with rational exponents as long as the base is
positive.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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