POV-Ray : Newsgroups : povray.general : Re: Probably been asked... Why no power operator? : Re: Probably been asked... Why no power operator? Server Time
5 Aug 2024 12:18:11 EDT (-0400)
  Re: Probably been asked... Why no power operator?  
From: Warp
Date: 14 Nov 2002 13:57:12
Message: <3dd3f208@news.povray.org>
AC <amb### [at] teliacom> wrote:
> I don't think it would hurt to ask a math teachers (Highschool, Collage or
> University)

  One problem is that in math there's no power operator, so there is no
operator precedence in the same sense. Only in computer languages there
is a power operator.

-- 
#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.