This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to deal with 1.#IND?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]