How do I trap divide-by-zero conditions in g77/gcc?
Michael A Richmond
Michael.A.Richmond.1@gsfc.nasa.gov
Mon Mar 4 11:08:00 GMT 2002
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/
More information about the Cygwin
mailing list