[comp.lang.fortran] Floating Point Errors

lowrie@caen.engin.umich.edu (Robert Byron Lowrie) (04/13/91)

I'm running code on a DEC 5000, using the MIPS Fortran 77 compiler.
How do I trap overflow, underflow, divide by zero, ... within the
code.  I don't need anything fancy, just have the code bomb and 
give me a traceback.  I've seen one too many NaN and Infinity's.

I looked at the 'signal' man page, and quite frankly I'm lost.

Thanks.

--------------------------------------------------------------------------
Rob Lowrie                                 
--------------------------------------------------------------------------