POV-Ray : Newsgroups : povray.beta-test : sin(X)^sin(X) -> crash! : Re: sin(X)^sin(X) -> crash! Server Time
4 Nov 2024 21:22:51 EST (-0500)
  Re: sin(X)^sin(X) -> crash!  
From: Thorsten Froehlich
Date: 17 Jan 2002 05:46:15
Message: <3c46ab77@news.povray.org>
In article <0Fy### [at] econymdemoncouk> , Mike Williams 
<mik### [at] nospamplease>  wrote:

> Wasn't it Warp who wrote:
>>  POV-Ray 3.5 beta4 for Windows, Win98, Athlon, 256MB.
>>
>>  The following crashes POV-Ray:
>>
>>#declare X = .1;
>>#while(X <= 4)
>>  sphere { <X, sin(X)^sin(X), -.1>, .02 pigment { rgb 1 } }
>>  #declare X = X+.1;
>>#end
>
> This was supposed to have been fixed in beta 10, but it still crashes on
> my machine.

It further should be noted that the fix will simply issue an error for this
function if it encounters 0^0, which isn't defined.  So the above won't work
anyway, but it of course will no longer crash in beta 11.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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