title: Catch Floating Point Exceptions using a compiler option with C
body: <p><strong>Gfortran</strong> has the handy <code>-ffpe-trap</code> compiler option, but no similar option is available for <strong>gcc</strong>.  I am vaguely aware that they handle exceptions differently, but not enough to know why one can die from <strong>FPEs</strong> just by enabling a compiler flag, but the other requires including extra code to turn exceptions on.</p>