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

Home » Public Forums » archive » Re: Grumbling about setting double precision
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: Grumbling about setting double precision [message #78841 is a reply to message #78775] Wed, 21 December 2011 17:34 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Wednesday, December 21, 2011 9:20:24 AM UTC-5, Kenneth P. Bowman wrote:

>
> You could replace "," with "D," and replace "]" with "D]".
>
> That should only take a minute or two with find and replace.
>

Thanks, but the problem in my code would be skipping the integer vectors (mixed in with the double precision vectors), which I don't want to be changed. I am sure there is a way to make my editor skip commas after integers, but I suspect that would take me more time to figure out than manually editing the file.

Both MATLAB and Python use double precision as their default data type. Because IDL has been more of an image processing language, it originally made sense for it to have floating point as a default. But with the increase in computer memory capabilities, I think it now makes sense to have a new DEFFLT64 parameter to COMPILE_OPT which, in analogy to DEFINT32, would make 64 bit floating point the default.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: running IDL as a 'sleeping' process
Next Topic: Affordable SEO Services

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

Current Time: Wed Oct 08 15:22:32 PDT 2025

Total time taken to generate the page: 0.00506 seconds