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

Home » Public Forums » archive » Re: Missing Data Programming Contest
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: Missing Data Programming Contest [message #65977] Thu, 09 April 2009 09:34 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Reimar Bauer writes:

> it works only for float or double but not
> for everything of spec 1.
>
> e.g. byte, long, structure ...
>
> IDL> help,z
> Z ULONG64 = Array[3]
> IDL> z[1] = !values.f_nan
> % Program caused arithmetic error: Floating illegal operand
> IDL> help,z
> Z ULONG64 = Array[3]
> IDL> print,z
> 1 9223372036854775808 1
>
> that's fun or?

Yes, I have to convert integer data to float data
to do the assignment. I don't check for structures
and the like. I'm nice, but I'm not crazy. :-)

Cheers,

David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[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
Previous Topic: Re: Is there a function to calculate the determinant of a N×N matrix?
Next Topic: Re: quick question about bouncing balls

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

Current Time: Thu Oct 09 06:50:31 PDT 2025

Total time taken to generate the page: 1.04282 seconds