Article View: comp.sys.sun
Article #9949ffpa math libs?
From: Scott Moody
Date: Fri, 30 Dec 1988 16:01
Date: Fri, 30 Dec 1988 16:01
17 lines
1353 bytes
1353 bytes
We are interested to know how the math libraries work for the sun.
Specifically, how does using the different floating point options on 'cc'
affect the -lm math library? My understanding is that to use the 'fpa'
and '68881' chips, the 'c' compiler must generate in-line code for those
chips. How does the math library do this, since that same math library
also works on machines without these chips.
Is there a switch statement in the math library that calls the 68881 math
routines? If so (and it looks like there is), is there any way to get the
math library to call the 'fpa' math routines instead? Does the fpa include
math routines? If not they what good is the fpa when we do lots of math
calls, other that the normal *,/,+,- ??
Thanks for any responses?
Scott Moody @ Boeing Mountain Network
..uw-beaver!ssc-vax!shuksan!scott
Technical Details
Message-ID:
<1040@shuksan.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!cornell!uw-beaver!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: ssc-vax!shuksan!scott@beaver.cs.washington.edu (Scott Moody) Newsgroups: comp.sys.sun Subject: ffpa math libs? Message-ID: <1040@shuksan.UUCP> Date: 30 Dec 88 16:01:00 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 17 Approved: Sun-Spots@rice.edu Original-Date: 20 Dec 88 21:17:44 GMT X-Sun-Spots-Digest: Volume 7, Issue 81, message 14 of 17