Newsgroups: comp.lang.fortran
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!caen.engin.umich.edu!lowrie
From: lowrie@caen.engin.umich.edu (Robert Byron Lowrie)
Subject: Floating Point Errors 
Message-ID: <1991Apr12.220606.3556@engin.umich.edu>
Sender: news@engin.umich.edu (CAEN Netnews)
Reply-To: lowrie@caen.engin.umich.edu (Robert Byron Lowrie)
Organization: University of Michigan Engineering, Ann Arbor
Date: Fri, 12 Apr 1991 22:06:06 GMT

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                                 
--------------------------------------------------------------------------

