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 14:14:03 EDT (-0400)
  Re: Probably been asked... Why no power operator?  
From: TinCanMan
Date: 14 Nov 2002 17:52:14
Message: <3dd4291e$1@news.povray.org>
"Slime" <slm### [at] slimelandcom> wrote in message
news:3dd423cf$1@news.povray.org...
> the *operation* doesn't exist. The importance is in the order of
operations,
> and those go:
>
> 1. exponentiation
> 2. multiplication/division
> 3. addition/subtraction
>

don't forget brackets supercede everything: hence 'BEDMAS'

Brackets
Exponents
Divison*
Multiplication*
Addition**
Subtraction**

D&M,A&S are interchangeable of course, they are just in that order fo the
mnemonic.

-tgq


Post a reply to this message

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