Log Library - How is it done in the library code?
Dan Bernstein
brnstnd at kramden.acf.nyu.edu
Fri Mar 15 08:41:02 AEST 1991
In article <1294 at dkunix9.dk.oracle.com> bengsig at dk.oracle.com (Bjorn Engsig) writes:
> Article <1119 at caslon.cs.arizona.edu> by dave at cs.arizona.edu (Dave P. Schaumann) says:
> |Trancendental functions are generally modeled with a Taylor-series expansion.
> |(Check your favorite calculus books for what a Taylor series is,
> Taylor-series are only of mathematical value. As a computational tool, they
> are absolutely worthless.
This is not true. Contrary to popular myth, Taylor series can be used
quite effectively for numerical solutions of differential equations.
They'll even tell you when the solution is becoming unstable. See
Moore's interval analysis book for more details.
In any case, it sounds like the original poster only needs a few digits
of accuracy; I'd use a large table.
---Dan
More information about the Comp.lang.c
mailing list