Message-ID: <36F185AB.DBB83340@devnull.com> Date: Thu, 18 Mar 1999 15:00:59 -0800 From: Kagenin Organization: ShadowTek Software X-Mailer: Mozilla 4.5 [en] (Win95; U) X-Accept-Language: en,de MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Fixed Point math References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 216.119.29.114 X-NNTP-Posting-Host: 216.119.29.114 X-Trace: 18 Mar 1999 23:35:45 -0800, 216.119.29.114 Lines: 27 X-NNTP-Posting-Host: 209.63.224.240 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com John Carbrey wrote: > > A friend of mine has informed me that floating point math is faster than > fixed point math in pentiums. > > He told me that I should use floats not fixed data types. > > Is this true? > > Yt, > > John Carbrey No. On almost all chips, integer math is faster than floating point. Plus, you can't use comparison operators on floats and doubles, as well as you increase float underflow errors. Your friend doesn't seem to know what he's talking about. Kagenin -- "When the Going gets Weird, The Weird turn Pro." Hunter S. Thompson ICQ #25225491 AIM ID Kagenin Z