Re: Sin & Cos speed worries
- From: tsilva <info@xxxxxxxxxxxx>
- Date: Thu, 10 Aug 2006 20:37:30 GMT
"Everett M. Greene" wrote:
"Fred J. Tydeman" writes:
You might be surprised at how inaccurate many of the math libraries
are that ship with compilers. A "C" program to test sin(355.) and the
results can be found in tsin.c on the web page in my signature.
I would be interested in results people get that are not already listed.
sin(355) can be closely approximated by zero. What's
the problem?
He's worried about "closeness" of the C compilers. Comparing with
the leading Fortran compiler (CVF) in dble against his posted (quad?)
"correct" result shows they differ by approximately e-19 - pass!
--
sdx
http://www.sdynamix.com
.
- References:
- Sin & Cos speed worries
- From: rgootee
- Re: Sin & Cos speed worries
- From: Fred J. Tydeman
- Re: Sin & Cos speed worries
- From: Everett M. Greene
- Sin & Cos speed worries
- Prev by Date: Re: Looking to Model a Sinusoid Input/Output
- Next by Date: Re: Quartic Equation Solver
- Previous by thread: Re: Sin & Cos speed worries
- Next by thread: Average values of interpolated values is calculus, right ?
- Index(es):
Relevant Pages
|