From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: Optimization of math.h functions Date: Wed, 03 Sep 1997 12:09:33 +0200 Organization: TU Chemnitz-Zwickau Lines: 17 Message-ID: <340D375D.ECA9918@Mathematik.TU-Chemnitz.DE> References: <199709030259 DOT TAA10342 AT adit DOT ap DOT net> NNTP-Posting-Host: pandora.hrz.tu-chemnitz.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Nate Eldredge wrote: > > Does anybody know why the math functions aren't implemented as inline > functions in the header file, but rather as regular functions? Since most of Because there is a gcc switch, which does this :-) Use '-ffast-math' to inline the math functions. Robert -- ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************