[SciPy-User] SciPy-User Digest, Vol 80, Issue 22

Scott Ransom sransom@nrao....
Tue Apr 13 10:45:51 CDT 2010


On Tuesday 13 April 2010 11:39:21 am Tom Kuiper wrote:
> Thanks for the tip Robert.
> 
> On my 32-bit laptop:
> In [11]: calcsize('HHHH L HHH L d L H')
> Out[11]: 38
> 
> On a 64-bit machine:
> In [3]: calcsize('HHHH L HHH L d L H')
> Out[3]: 50

Hi Tom,

That's probably not because of the padding.  It is likely due to the 
fact that longs are 4 bytes on 32-bit machines and 8 bytes on 64-bit 
machines.

Scott


-- 
Scott M. Ransom            Address:  NRAO
Phone:  (434) 296-0320               520 Edgemont Rd.
email:  sransom@nrao.edu             Charlottesville, VA 22903 USA
GPG Fingerprint: 06A9 9553 78BE 16DB 407B  FFCA 9BFA B6FF FFD3 2989


More information about the SciPy-User mailing list