I am a full-time consultant and provide services related to the design, implementation and deployment of mathematical programming, optimization and data-science applications. I also teach courses and workshops. Usually I cannot blog about projects I am doing, but there are many technical notes I'd like to share. Not in the least so I have an easy way to search and find them again myself. You can reach me at firstname.lastname@example.org.
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.