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

Charles R Harris charlesr.harris@gmail....
Tue Apr 13 10:57:26 CDT 2010


On Tue, Apr 13, 2010 at 9:45 AM, Scott Ransom <sransom@nrao.edu> wrote:

> 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.
>
>
Unless you are using MSVC on 64 bit windows, in which case they are still 32
bits, IIRC.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20100413/87823aaf/attachment.html 


More information about the SciPy-User mailing list