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

Home » Public Forums » archive » Re: IDL refuse to acknowledge anything but integers...
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: IDL refuse to acknowledge anything but integers... [message #79719 is a reply to message #79717] Tue, 27 March 2012 08:07 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Julien writes:

> I encountered the weirdest bug I ever saw with IDL. I can't say
> exactly when it happened, but at some point a few hours ago, IDL
> stopped taking into account anything below one. Example:
>
> IDL> print,float(0.25)
> 0,00000
> IDL> print,0.25
> 0,00000
> IDL> print,-0.12
> -0,00000
> IDL> print,1.2
> 1,00000
> IDL> print,1.2d
> 1,0000000
>
> Please help, I'm going mad..

I'm pretty sure IDL was trying to follow the matrix
multiplication thread from the past couple of days.
This is *exactly* what happens!

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TOTAL function
Next Topic: Time conversion for .nc file

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

Current Time: Sat Oct 11 16:27:06 PDT 2025

Total time taken to generate the page: 0.96149 seconds