Currently I modify a big C++ program for scientific computation. when I do
debuging, some strange things happened, that is: when I added some print
out statement, some previous NaN numbers(which is wrong, that is why I
need to do debugging, those NaNs are the calculation results of the
variabes I used in my print out statement) become real floating point
numbers, but when I commented out those statements, the numbers become NaN again.
Are there any experts knowing what is the problem here. I use g++ under
redhat linux.
Thanks a lot