Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <3.0.5.32.20020304140615.00a1c6b0@mscmail.gsfc.nasa.gov> X-Sender: mrichmond AT mscmail DOT gsfc DOT nasa DOT gov X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Mon, 04 Mar 2002 14:06:15 -0500 To: cygwin AT cygwin DOT com From: Michael A Richmond Subject: How do I trap divide-by-zero conditions in g77/gcc? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" I want to write a Fortran program that crashes if the user inadvertently divides by zero. I can do it in Delorie by calling a C function named _control87, but Cygwin has no such function. Is there a way to do it in Cygwin? Thank you for your help. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/