NaN display problem accoring to the input valuables

NaN display problem accoring to the input valuables

Hi.

i made a fortran code, compile and run it with intel fortran.

The problem is when i change the input parameter, the reuslts show me a number or NaN.

For example:

When i put a=3.5D-2, the solution on the screen shows me 3.5345D+01.

When iput a=4.5D-2 without changing anything, the solution on the screen shows me NaN.

When iput a=5.5D-2 without changing anything, the solution on the screen shows me 4.575345D+01.

Why do you think it happens?

Regards

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.