Article View: comp.sys.intel
Article #134080387 computation (how to question)
From: Glenn Geers
Date: Wed, 19 Jun 1991 02:30
Date: Wed, 19 Jun 1991 02:30
23 lines
1704 bytes
1704 bytes
Hi,
I've written most of the UNIX math library routines in 386/387 assembler
in order to get more bang for my buck. However, there is one that has eluded me
so far (at least efficiently) and thats exp(x)-1. The 387 has an instruction
for doing 2^x - 1 but I can't see a neat way of scaling the result or prescaling
the input. Anyone know how?
Thanks in adavnce,
Glenn
--
___________________________________________________________________________
Glenn Geers | "So when it's over,
| we're back to people.
Department of Theoretical Physics | Just to prove that human touch
The University of Sydney | can have no equal."
Sydney NSW 2006 Australia | - Basia Trzetrzelewska, 'Prime Time TV'
|
Phone: +61 2 692-3241 (voice) |_________________________________________
+61 2 660-2903 (fax) |
|
glenn@qed.physics.su.oz.au | #include <standard_disclaimer.h>
|
----------------------------------------------------------------------------
Technical Details
Message-ID:
<1991Jun19.023041.25008@metro.ucc.su.OZ.AU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!metro!suphys.physics.su.OZ.AU!glennShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!metro!suphys.physics.su.OZ.AU!glenn From: glenn@suphys.physics.su.OZ.AU (Glenn Geers) Newsgroups: comp.sys.intel Subject: 80387 computation (how to question) Message-ID: <1991Jun19.023041.25008@metro.ucc.su.OZ.AU> Date: 19 Jun 91 02:30:41 GMT Sender: news@metro.ucc.su.OZ.AU Reply-To: glenn@suphys.physics.su.OZ.AU (Glenn Geers) Organization: School of Physics, Uni of Sydney, Australia. Lines: 23 Nntp-Posting-Host: physics.su.oz.au