|
![](/i/fill.gif) |
Tim Nikias wrote:
> I might have to write myself a script to generate QNANs in order
> to "experiment" what I can do about them... Unless someone already knows a
> fool-proof way of generating one?
Generating NaNs should be quite trivial. I can do it like this:
#debug str(1/0 - 1/0, 0, 3)
It shows up as "nan", not as "#QNAN" here on Mac OS X, but I guess
that's an implementation detail of my C library.
(For some reason POV-Ray here considers 0/0 as inf, while I'd expect it
to be nan - and in my own programs, it is.)
-Christian
Post a reply to this message
|
![](/i/fill.gif) |