|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |