Jim Langston <(E-Mail Removed)> wrote:

> "fcvcnet" <(E-Mail Removed)> wrote in message

> news:ei9ndm$5lf$(E-Mail Removed)99.com...

>> Hi,

>> I got result 1.#QNAN00000000 and -1.#IND000000000 in my programme, what

>> happened?

>> why?

>> Thanks.

>

> NAN is not a number. This can happen with a floating point math won't work.

> In some cases dividing by 0 will produce a NAN, but in others it produces

> infinity (not sure if the specs say whiat it should produce).

>

> Not sure what IND is. It may be infinity, but I would think that would be

> INF, so I'm not sure.
I'm not sure either, but IND might mean "indeterminate". As in,

(informally) 1/0 is infinity but 0/0 is indeterminate.

http://mathworld.wolfram.com/Indeterminate.html
--

Marcus Kwok

Replace 'invalid' with 'net' to reply