www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/23/11:30:36

From: "Dan Goodman" <dog AT fcbob DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problems with floating-point! HELP!
Date: Sun, 23 Aug 1998 16:19:29 +0100
Message-ID: <903885644.29599.0.nnrp-07.9e989aee@news.demon.co.uk>
References: <903562061 DOT 1411631779 AT news DOT uni-jena DOT de>
NNTP-Posting-Host: fcbob.demon.co.uk
Lines: 14
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I had a similar problem to this, which was that my program would get SIGFPEs
although (as far as I could tell) there was nothing which could cause this.
No chance of overflows or divide by zeros, no chance of sqrt(negative
number), and the problem would only set in when a certain variable was
greater than 0.89999995 or somesuch (I was using doubles). It compiled OK on
a slightly older version of DJGPP, but not on the newest one.


------------------------------------------------
Dan Goodman of FCBOB
http://www.fcbob.demon.co.uk



- Raw text -


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