3 ms·
Related: here is a very good article and comments on estimating transcendental functions: http://www.coranac.com/2009/07/sines/ http://www.coranac.com/2009/07/s
by jhallenworld 12y ago
Related: here is a very good article and comments on estimating transcendental functions: http://www.coranac.com/2009/07/sines/ http://www.coranac.com/2009/07/sines/
I'm annoyed that one of the links in the comments is broken: there was a page where you entered your function and it provided a chebyshev polynomial to generate it to a particular precision.
EDIT: well here is another one: http://goddard.net.nz/files/js/chebyshev/cheby.html http://goddard.net.nz/files/js/chebyshev/cheby.html
- edwintorok 12y agoThere is some interesting info here as well on how to compute most of libm (including transcedental functions) in a correctly-rounded/precise way: http://lipforge.ens-lyon.fr/frs/download.php/153/crlibm-1.0beta3.pdf http://lipforge.ens-lyon.fr/frs/download.php/153/crlibm-1.0b...
- jhallenworld 12y agoAlso, the old standard reference for this was "Computer Approximations" by Hart and Cheney