delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/08/05:17:48

Date: Mon, 8 Sep 1997 11:12:00 +0200 (MET DST)
From: Jan Hubicka <hubicka AT ta DOT jcu DOT cz>
To: Orlando Andico <orly AT dilnet DOT upd DOT edu DOT ph>
cc: sime AT fly DOT cc DOT etf DOT hr, djgpp AT delorie DOT com
Subject: Re: Optimization of math.h functions
In-Reply-To: <Pine.SGI.3.93.970908081052.1721C-100000@gibson>
Message-ID: <Pine.LNX.3.91.970908111020.4229B-100000@tabor.ta.jcu.cz>
MIME-Version: 1.0

On Mon, 8 Sep 1997, Orlando Andico wrote:

> On 7 Sep 1997, S. Mikecin wrote:
> 
> ..
> > : Use '-ffast-math' to inline the math functions.
> > 
> > Yes, you're right. But it seems to work only for a few functions (sqrt, sin,
> > cos, fabs). Compared to Watcom C 10.5a output which inlines almost all
> > math functions (sqrt, sin, cos, fabs, tan, atan, sinh, cosh, log, exp,...) it
> > is not as good as it should be (maybe in gcc 2.8.0?).
> 
Well, if you want inlined those function, you should download inline-math
from most of linux archives (sunsite.unc.edu). It is .h file that contains
inline function for most of functions you listed(all I think). It works
well in my XaoS.

Honza
>  
> -------------------------------------------------------------------
> Orlando Alcantara Andico
> WWW:   http://www2.mozcom.com/~orly/         Email: orly AT mozcom DOT com
> ICBM:  14 30 00 N  120 59 00 E               POTS:  (+632) 932-2385
> 
> 

------------------------------------------------------------------------------
                   Have you browsed my www pages? Look at:
                       http://www.paru.cas.cz/~hubicka
      Koules-the game for Svgalib,X11 and OS/2,  Xonix-the game for X11
      czech documentation for linux index, original 2D computer art and
              funny 100 years old photos and articles are there!

- Raw text -


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