How to deal with 1.#IND?

2006-06-28 Thread truelies

I am using gcc 3.3.1 (20030804-1) (C/C++ only) inside MinGw in a project. I
have some double data out of range, so it returned
1.#INF,-1.#INF,1.#IND,-1.#IND.
I don't know what's difference between IND and INF?

The INF can use isinf( ) to judge it, how to judge IND?
Also INF can use if(data>0.0) to judge >0 or <0, but IND can't judge >0 or
<0 out this way. Are there other methods?Thank you so much!
-- 
View this message in context: 
http://www.nabble.com/How-to-deal-with-1.-IND--tf1862819.html#a5088616
Sent from the gcc - Dev forum at Nabble.com.



Re: How to deal with 1.#IND?

2006-07-11 Thread truelies

Up!
-- 
View this message in context: 
http://www.nabble.com/How-to-deal-with-1.-IND--tf1862819.html#a5271851
Sent from the gcc - Dev forum at Nabble.com.