Log Library - How is it done in the library code?

Bjorn Engsig bengsig at dk.oracle.com
Wed Mar 13 19:39:49 AEST 1991


Sorry, this isn't C any longer, but it need clarification.

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.
|and your
|favorite numerical analysis book on how to get the best (ie most accurate)
|results).
Which will tell you why you shouldn't use Taylor-series, and probably tell
the that Chebychev polynomails are among the best ones for a large number
of functions.
-- 
Bjorn Engsig, ORACLE Corporation, E-mail: bengsig at oracle.com, bengsig at oracle.nl



More information about the Comp.lang.c mailing list