🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #2070

Re: The power of inline functions (cc, gcc, g++).

#2070
From: Dirk Grunwald
Date: Mon, 05 Jun 1989 15:30
16 lines
1392 bytes
At my request, Doug Lea included modifications to the g++ version math.h
that include math-m68881.h, which was previously distributed via gnu.gcc.bug.

This version of math.h simply checks to see if you're using the 68881, and,
if you are, includes a header file that uses m68881 functions to perform
common functions. There are caveats to this approach, and I think they're
included in the header file.

To get the same functionality from `gcc', simply incant a math.h that
checks for _USE_68881_ & include math-m68881.h if it does.

The last I heard, these feature will be supplanted by new __builtins that
allow similar functionality but allow even greater optimizations.
--
Dirk Grunwald -- Univ. of Illinois 		  (grunwald@flute.cs.uiuc.edu)
Technical Details
Message-ID: <GRUNWALD.89Jun5103027@flute.cs.uiuc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!uxc!garcon!garcon.cso.uiuc.edu!grunwald
References: <8906051459.AA18572@AENEAS.MIT.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!uxc!garcon!garcon.cso.uiuc.edu!grunwald
From: grunwald@flute.cs.uiuc.edu (Dirk Grunwald)
Newsgroups: gnu.g++.bug
Subject: Re: The power of inline functions (cc, gcc, g++).
Message-ID: <GRUNWALD.89Jun5103027@flute.cs.uiuc.edu>
Date: 5 Jun 89 15:30:27 GMT
References: <8906051459.AA18572@AENEAS.MIT.EDU>
Sender: news@garcon.cso.uiuc.edu
Reply-To: grunwald@flute.cs.uiuc.edu
Distribution: gnu
Organization: University of Illinois, Urbana-Champaign
Lines: 16
In-reply-to: gordon%stats.ucl.ac.uk@NSFNET-RELAY.AC.UK's message of 5 Jun 89 13:14:56 GMT