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

Home » Public Forums » archive » POLY_FIT 5.0: inaccurate results. use 4.0 if possible.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: POLY_FIT 5.0: inaccurate results. use 4.0 if possible. [message #11527 is a reply to message #11308] Mon, 30 March 1998 00:00 Go to previous message
pit is currently offline  pit
Messages: 92
Registered: January 1996
Member
In article <MPG.f859b08896d2aad989765@news.frii.com>,
davidf@dfanning.com (David Fanning) writes:

> I submitted this problem to the RSI technical support staff
> to see what they knew about it. Here is their response.
> This is one of those "nice things to do" that cause confusion
> because the change is not communicated carefully enough. I'm
> not sure how to solve this "upgrade" problem, but I do know
> it causes grief from time to time.
>
> ************
> To obtain similar results for the POLY_FIT procedure from IDL 4.0.1 to
> IDL 5.0, please set (/DOUBLE) the DOUBLE keyword when using POLY_FIT in
> IDL 5.0.� For most of IDL 4.0.1 numerical analysis routines, the
> internal computations are performed on double precision variables.
> However, because of timing feature requests, these routines were changed
> to perform single precision computations.� Fortunately, the DOUBLE
> keyword was added to these routines to force double precision
> computations.� Thus, to force IDL 5.0's POLY_FIT to perform like IDL
> 4.0.1's POLY_FIT, please use this DOUBLE keyword.� Sorry for any
> inconvenience this change may have caused.
> *************

So, why don't they use a keyword /SINGLE and stay backward compatible?
This is bad style, IHMO.

Peter

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
Peter "Pit" Suetterlin http://www.uni-sw.gwdg.de/~pit
Universitaets-Sternwarte Goettingen
Tel.: +49 551 39-5048 pit@uni-sw.gwdg.de
-- * -- * ...-- * -- * ...-- * -- * ...-- * -- * ...-- * -- * ...-- * --
Come and see the stars! http://www.kis.uni-freiburg.de/~ps/SFB
Sternfreunde Breisgau e.V. Tel.: +49 7641 3492
____________________________________________________________ ______________
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Memory deallocate problem
Next Topic: date question

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

Current Time: Sun Oct 12 09:38:43 PDT 2025

Total time taken to generate the page: 1.51991 seconds