POV-Ray : Newsgroups : povray.beta-test : isosurface problem : Re: isosurface problem Server Time
29 Jul 2024 16:19:41 EDT (-0400)
  Re: isosurface problem  
From: Christoph Hormann
Date: 14 Apr 2002 06:08:40
Message: <3CB95526.85275E5@gmx.de>
Thorsten Froehlich wrote:
> 
> No, it cannot efficiently without needless penalty for all platforms.  The
> error is in the Visual C library because (even the ancient 1989 version of)
> the C standard specifies pow to return NaN* in this case and to (optionally)
> issue an exception/signal.  Unfortunately the Visual C library apparently
> fails to do either :-(

All right, then i would suggest adding something like the following to the
pow() documentation (section 6.1.3.6):

"pow(A,B) Exponentiation. Returns the value of A raised to the power B.
Alternatively the hat operator can be used A^B.  For negative A and
non-integer B the function has no defined return value, the result then
may depend on the platform POV-Ray is compiled on."


Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 11 Apr. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

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