delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/19/11:19:13

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Fixed vs floating point?
Date: Fri, 19 Jun 1998 07:59:50 -0700
Organization: Alcyone Systems
Lines: 19
Message-ID: <358A7CE6.7CE7AD3C@alcyone.com>
References: <Pine DOT SUN DOT 3 DOT 96 DOT 980619100615 DOT 14404A-100000 AT xs2 DOT xs4all DOT nl>
NNTP-Posting-Host: charmaine.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Rob Kramer wrote:

> Can anyone make a guess if multiplications/devisions in fixed point
> math
> are still faster on a machine that has a FPU? I was wondering if it
> would
> do any good to #define my code to use conventional floats if the
> machine
> supports it. (I'm using Allegro's fixed math stuff b.t.w)

For typical tasks, floating point should be faster.

-- 
         Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com
                       Alcyone Systems / http://www.alcyone.com/max/
  San Jose, California, United States / icbm:+37.20.07/-121.53.38
                                     \
           She glanced at her watch / . . . It was 9:23.
                                   / James Clavell

- Raw text -


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