Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

NaN appearing

$
0
0

Hi

I am running a program with several computations in a loop. I am getting NaN after a lot many computations. To get clean data free of NaN i made the program stop at first appearance of NaN. I got a breakpoint and what i see is an overflow. Earlier, when i had not induced any such breakpoint, as i went through the data file obtained, i saw NaN values among many normal data. Secondly, despite appearance of NaN the computation went on with number data appearing between NaN values. From this pattern should i assume that i should assign these variables to real(16) rather than real(8)?

please tell me the way out.

Shah


Viewing all articles
Browse latest Browse all 3270

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>