POV-Ray : Newsgroups : povray.beta-test : Incorrect use of pow() gives access violation Server Time
29 Jul 2024 04:27:39 EDT (-0400)
  Incorrect use of pow() gives access violation (Message 1 to 2 of 2)  
From: Hugo
Subject: Incorrect use of pow() gives access violation
Date: 11 Jul 2002 14:49:34
Message: <3d2dd33e@news.povray.org>
Hey, it's great to have the final Pov 3.5 but there's a minor surprise here:

#declare f_pattern=function { 1 };
#declare Access_Violation=function { pow( f_pattern(x,y,z), 3,5 ) };


It doesn't work and it shouldn't work, because I by mistake put 3 parameters
in pow() instead of 2 but it causes an access violation... Perhaps it's not
worth to mention such a small bug, but I understand you don't want these
things to happen.. I'm sorry if it's a known issue already, but a search
didn't reveal it.

Best regards,
Hugo


Post a reply to this message

From: Felix Wiemann
Subject: Re: Incorrect use of pow() gives access violation
Date: 12 Jul 2002 08:16:13
Message: <3d2ec88d@news.povray.org>
Hugo wrote:

> #declare f_pattern=function { 1 };
> #declare Access_Violation=function { pow( f_pattern(x,y,z), 3,5 ) };

Confirmed.
POV-Ray 3.5, Linux 2.4.10
-- 
Felix Wiemann


Post a reply to this message

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