More efficient array processing

John [H2O] washakie at
Thu Oct 23 22:56:22 CEST 2008

I'm using zeros with type np.float, is there a way to define the data type to
be 4 byte floats?

Marc 'BlackJack' Rintsch wrote:
> On Thu, 23 Oct 2008 11:44:04 -0700, John [H2O] wrote:
>> What is strange though, is that I have several Fortran programs that
>> create the exact same array srtucture... wouldn't they be restricted to
>> the 2Gb limit as well?
> They should be.  What about the data type of the elements?  Any chance 
> they are just 4 byte floats in your Fortran code i.e. C floats instead of 
> C doubles like the default in `numpy`?
> Ciao,
> 	Marc 'BlackJack' Rintsch
> --

View this message in context:
Sent from the Python - python-list mailing list archive at

More information about the Python-list mailing list