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:15:05 EDT (-0400)
  Re: Probably been asked... Why no power operator?  
From: Timothy R  Cook
Date: 14 Nov 2002 17:02:29
Message: <3dd41d75@news.povray.org>
Jellby wrote:
> Wouldn't it be possible to have *both* 3^-2 and -3^2 generate an error, to 
> force the use of parenthesis: 3^(-2) and either -(3^2) or (-3)^2? This 
> would at least get rid of the need of pow (but not of the need of pov ;) ), 
> while givin rise to no misunderstunding.

Doesn't 3^(-2) translate to sqrt(3)?

-- 
Tim Cook
http://empyrean.scifi-fantasy.com

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------


Post a reply to this message

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