comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » better atan function?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
better atan function? [message #20238] Tue, 30 May 2000 00:00 Go to previous message
R is currently offline  R
Messages: 4
Registered: May 2000
Junior Member
Greetings all,


I have found that the phase I get from the FFT has
a precision of only ~10e-8, and that the precision depends
on what value phase has.

I think I've traced this to the atan function, or perhaps the
division that takes place in the atan function.

Does anyone have a better atan function (more precise)?

Or is this merely the way it is when one is bumping up against
precision errors?

By comparison, my "simulation" does get the amplitudes
of the spectral components to a precision of ~10e-14 or so.
(as expected for double precision variables, and no noise)

cheers,
bob
stockwell (at) co-ra (dot) com
[Message index]
 
Read Message
Read Message
Previous Topic: Math Libraries in PVWAVE
Next Topic: ANNOUNCE: spice-dlm, an IDL interface to the SPICE toolkit

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 02:38:10 PDT 2025

Total time taken to generate the page: 0.72090 seconds