From: "0/0" Newsgroups: comp.os.msdos.djgpp Subject: Re: Floating point..... I think.... Date: 16 Jun 1999 05:37:44 GMT Organization: Value Net Internetwork Services Inc. Lines: 30 Message-ID: <01beb7ba$28c43560$fc4484ce@sub> References: 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 Eli Zaretskii wrote in article ... > > On 14 Jun 1999, 0/0 wrote: > > > 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++... > > Did you link with "-lm" in the end of the command line? > Did you #include ? > Yes I did "#include and No I didn't use "-lm" but when I did it now, it had no effect. I guess there could be something else going on, I'm going to try diffrent optimization functions just to be on the safe side, thank you, though..... BTW here are the comand lines I have tried.... gcc ft.cpp image.cpp main.cpp waveform.cpp -o ft.exe gcc -O3 ft.cpp image.cpp main.cpp waveform.cpp -o ft.exe gcc -O3 ft.cpp image.cpp main.cpp waveform.cpp -o ft.exe -lm I'm going to see if it may be relating to something, with processor specific settings....