delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/14/14:10:34

From: "0/0" <nsousbpoanmer AT naooslp DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Floating point..... I think....
Date: 14 Jun 1999 08:28:18 GMT
Organization: Value Net Internetwork Services Inc.
Lines: 13
Message-ID: <01beb63f$a8e494a0$fc4484ce@sub>
NNTP-Posting-Host: fgna-252.value.net
X-Newsreader: Microsoft Internet News 4.70.1162
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I'm playing around with FFTs, and I notice my DFT and FFT functions become
less acurate when I compile for DJGPP then they do when I compile with
watcom and Visual C++... I like using DJGPP because its more convenient and
projects take up less room, at least for me.... but this is the weirdest
thing I have seen, Anyway the results seem to be less acurate, when I ran
my program compiled from both watcom and vc++ the results were sharp and
looked more accurate, when I compiled for DJGPP the DFT came out blurry,
and the FFT came out even weirder and definetly not accurate...but I am
curious has any one had this trouble before.... I know using double
precision fp is better, but single precision aparently works, and I did a
lot of typecasting just to make sure and its still the same results. Does
any one have any ideas of what to do?

- Raw text -


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