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

Home » Public Forums » archive » Re: random integers between 0 and 1,000,000
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: random integers between 0 and 1,000,000 [message #45961 is a reply to message #45960] Mon, 24 October 2005 06:23 Go to previous messageGo to previous message
peter.albert@gmx.de is currently offline  peter.albert@gmx.de
Messages: 108
Registered: July 2005
Senior Member
I did not suggest using fix(), and using long() would also not help, if
the array itself is defined to be of type integer. Anyway your point
about interpreting internal bits is perfectly correct. However, the
problem is not about transforming float numbers, as he deals with long
numbers all the time. My point is that although IDL allows you to be
quite sloppy with data types most of the time, you can get problems
when assigning values to individual elements of an array. In that case,
the whole array does not automatically adjust its data type.

Cheers,

Peter
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Problem: Opening a 20-30MB sized ShapeFile
Next Topic: Keeping Button Pressed In?

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

Current Time: Fri Oct 10 11:25:43 PDT 2025

Total time taken to generate the page: 0.88093 seconds