public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Exception catching
@ 2001-11-06 12:48 Hassan Aurag
  2001-11-06 15:04 ` Toon Moene
  0 siblings, 1 reply; 2+ messages in thread
From: Hassan Aurag @ 2001-11-06 12:48 UTC (permalink / raw)
  To: GCC Help Mailing List


 I would like an example on how to catch all division by zeros in
Fortran.

 My idea is the following in pseudo-code:

 num, denom = catch_div_byzero()

 return bignumber (and not nan)

 Is this even possible?

 In other words, I would like to alter division by zero so that it
returns a huge number. can it be made even in C and then linked as
library to my fortran code?




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-11-16 20:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-06 12:48 Exception catching Hassan Aurag
2001-11-06 15:04 ` Toon Moene

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).