Sunday, June 15, 2008

Lahey Fortran division by zero

It looks like the Lahey/Fujitsu fortran compiler does not trap divisions by zero. The code will continue with a NaN value. To generate traps add the compiler flag: -trap d.

No comments:

Post a Comment