delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/14/17:40:22

Message-ID: <37656D11.9A43A6C@mindtremors.com>
From: Justin Deltener <deltener AT mindtremors DOT com>
X-Mailer: Mozilla 4.51 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: FPE
Lines: 12
Date: Mon, 14 Jun 1999 15:58:57 -0500
NNTP-Posting-Host: 209.180.57.107
X-Trace: news.uswest.net 929393998 209.180.57.107 (Mon, 14 Jun 1999 15:59:58 CDT)
NNTP-Posting-Date: Mon, 14 Jun 1999 15:59:58 CDT
Organization: U S WEST Interprise
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I always thought if I get a Floating Point Exception it was because I
was dividing by 0!? My program is getting weird FPE's so I made a test
program to divide a float by 0, and divide 0.0 by a float. Both gave
answers WITHOUT generating an FPE, soooooo, that kinda shoots that
theory out the window...

Is it because the float goes out of bounds, ie. number is too large or
small? I'd really appreciate some feedback here, cause if i can fix the
fpe's my program would be a lot more stable! Thanks!
-- 
Justin Deltener (deltener AT mindtremors DOT com)
Inverse Reality (http://www.inversereality.org)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019