JG>Hello Brian ...
JG> > Does anyone have any good code for calculating some of the
JG> > transcendental
JG> > functions (exp, sin, cos would be enough... I already know how I
JG> > can do ln and
JG> > atan2, and the various hyperbolic and inverse functions can be
JG> > derived from
JG> > those five) using only 8087 instructions (no library calls, no
JG> > emulator
JG> > shortcuts, and no 387 FCOS/FSIN instructions)?
JG>Hmmm ...
JG>I think you know (since Taylor said it long ago!) that each continuous
JG>function (which is derivable in the open segment considered, but that's
JG>the case for the function you ask!) can be represented by its Polynomial
JG>forms.
Yes, I know about the Taylor series way of calculating them... but I was
wondering if there was a faster way... Looking at the RTL for BP7, I found
that it uses limited Taylor-series polynomials for sin, cos, and ln... but I
couldn't figure out the values it used for calculating exp...
((Cloud))
* OLX 2.2 * Power is an illusion; only stupidity is real.
--- PCBoard (R) v15.3/M 10
---------------
* Origin: Next time, Dial The Wrong Number! (209) 943-1880 (1:208/205)
|