delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/03/10:52:22

From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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                       *
*****************************************************************

- Raw text -


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