faq 1.#QNAN00000000和-1。#IND000000000 [英] faq 1.#QNAN00000000 and -1.#IND000000000
问题描述
我得到了结果1.#QNAN00000000和-1。#IND000000000在我的程序中,是什么
发生了什么?
为什么?
谢谢。
fcvcnet写道:
我得到了结果1.#QNAN00000000和-1。#IND000000000在我的程序中,是什么
发生了?
为什么?
如果您可以发布您的代码,那么可能更容易找到
问题。
" fcvcnet" < fc ***** @ 163.com写信息
新闻:ei ********** @ news.cn99.com ...
我得到了结果1.#QNAN00000000和-1。#IND000000000在我的程序中,是什么
发生了什么? />
为什么?
谢谢。
NAN不是数字。这可能发生在浮点数学不起作用。
在某些情况下,除以0将产生NAN,但在其他情况下它会产生
无穷大(不确定)如果规格说它应该产生什么)。
不确定IND是什么。它可能是无限的,但我认为那将是
INF,所以我不确定。
Jim Langston< ta *******@rocketmail.comwrote:
" fcvcnet" < fc ***** @ 163.com写信息
新闻:ei ********** @ news.cn99.com ...
>
我得到了结果1.#QNAN00000000和-1。#IND000000000在我的程序中,发生了什么?
为什么?
感谢。
NAN不是数字。这可能发生在浮点数学不起作用。
在某些情况下,除以0将产生NAN,但在其他情况下它会产生
无穷大(不确定)如果规格说它应该产生什么)。
不确定IND是什么。它可能是无限的,但我认为那将是
INF,所以我不确定。
我也不确定,但IND可能意味着不确定。如同,
(非正式地)1/0是无穷大但0/0是不确定的。
http://mathworld.wolfram.com/Indeterminate.html
-
Marcus Kwok
将''invalid''替换为''net''以回复
Hi,
I got result 1.#QNAN00000000 and -1.#IND000000000 in my programme, what
happened?
why?
Thanks.
fcvcnet wrote:Hi,
I got result 1.#QNAN00000000 and -1.#IND000000000 in my programme, what
happened?
why?If you can post your code then it might be more easy to find the
problem.
"fcvcnet" <fc*****@163.comwrote in message
news:ei**********@news.cn99.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.
Jim Langston <ta*******@rocketmail.comwrote:"fcvcnet" <fc*****@163.comwrote in message
news:ei**********@news.cn99.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
这篇关于faq 1.#QNAN00000000和-1。#IND000000000的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!