"Greg M. Johnson" wrote:
>
> It is interesting that when I do a #debug for a variable which I have
> declared as [ #declare angie=2^3*4^4;]
> povray tells me it is 1084576, when I paste this text (2^3*4^4) into
> Lotus1-2-3, the result is 2048.
>
> The Lotus 1-2-3 answer is based on the hierarchy of operators I remember
> from grade school. Is povray's hierarchy of operators like that of C or
> is it "new"?
When in doubt use parenthesis. They rule.
--
Brought to you by Weyland-Yutani
Making Space a better Place to Scream.
-- The Iron Webmaster, 255
Post a reply to this message
|