Hi,

I have some strange behaviour with a "normal" equation.

Consider this (hard to read, I know) line:

C(7)=(E(8)-(2*E(10)+2*E(46)+E(42)))*PI/E(5)-E(42)

All single values are of type REAL, all of them have neither NULL nor 0 value.

When running through this line, the result I get is frustrating "NaN". I have several more such examples, same behaviour. Now when I split this long equation into

HILF1C7=2*E(10)

HILF2C7=2*E(46)

HILF3C7=HILF1C7+HILF2C7+E(42)

HILF4C7=E(8)-HILF3C7

HILF5C7= HILF4C7*PI

HILF6C7=E(5)-E(42)

C(7)=HILF5C7/HILF6C7

guess what. No more NaN but a usual (desired) value I can continue calculating with.

I have dozens of such equations so I cannot believe to need to split all of them into shortest pieces.

This behaviour occurs under Intel Visual Fortran Compiler 8.1 within Visual Studio 2003.

Does anyone here have an idea what to do to avoid a time-spending effort to split these equations?

Thanks again in advance.

Harald