On Wed, Jun 4, 2008 at 9:50 PM, Dan Yamins <[EMAIL PROTECTED]> wrote:
>>
>> In [3]: numpy.dtype(numpy.uintp).itemsize
>> Out[3]: 4
>>
>> which is the size in bytes of the integer needed to hold a pointer. The
>> output above is for 32 bit python/numpy.
>>
>
> Check, the answer is 4, as you got for the 32-bit.   What would the answer
> be on a 64-bit architecture?  Why is this diagnostic?

It would be 8 on a 64-bit architecture (with a 64-bit binary):  8
bytes = 64 bits, 4 bytes = 32 bits.

-- 
Nathan Bell [EMAIL PROTECTED]
http://graphics.cs.uiuc.edu/~wnbell/
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to