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

Home » Public Forums » archive » Max number of elements in an array
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: Max number of elements in an array [message #54018 is a reply to message #53905] Mon, 14 May 2007 09:18 Go to previous messageGo to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
> In the 32-bits version, signed longs are used.
> Thus the max number of elements of a byte array is (2^31-offset),
> where offset is a small number (around 10).
>
> IDL 64 bit uses signed double precision longs, and the max number
> of elements in a byte array is (2^63-offset) [here the offset seems
> to be around 512].
>
> For other numeric types, divide the above numbers by the size in
> bytes of one element.
>
> Ciao,
> Paolo

Thanks Paolo! Exactly what I was looking for!

Jean
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: reading in images
Next Topic: Re: Fourier fit

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

Current Time: Sat Oct 11 11:48:30 PDT 2025

Total time taken to generate the page: 0.16438 seconds