How to handle NaN in GFortran?
Hi there. I have Ubuntu VM and I run GFortran in it. And in this particular task my calculations give me quite a few NaN and I want to make sure they are thrown by the wayside. So far nothing I tried worked, e.g. if (res.eq.NaN) then ... does not work, etc. How can it be done?
Thanks, - A.