Date: Mon, 8 Sep 1997 11:12:00 +0200 (MET DST) From: Jan Hubicka To: Orlando Andico 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: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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!