Re: [Numpy-discussion] bug in numpy.ndarray?

2011-05-09 Thread Charles R Harris
On Sun, May 8, 2011 at 7:22 PM, Paul Anton Letnes < paul.anton.let...@gmail.com> wrote: > > On 8. mai 2011, at 17.32, Warren Weckesser wrote: > > > > > > > On Sun, May 8, 2011 at 7:23 PM, Charles R Harris < > charlesr.har...@gmail.com> wrote: > > > > > > On Sun, May 8, 2011 at 3:15 PM, Paul Anton

Re: [Numpy-discussion] Mapping of dtype to C types

2011-05-09 Thread Keith Goodman
On Mon, May 9, 2011 at 1:46 AM, Pauli Virtanen wrote: > Sun, 08 May 2011 14:45:45 -0700, Keith Goodman wrote: >> I'm writing a function that accepts four possible dtypes: int32, int64, >> float32, float64. The function will call a C extension (wrapped in >> Cython). What are the equivalent C types

Re: [Numpy-discussion] Mapping of dtype to C types

2011-05-09 Thread Pauli Virtanen
Sun, 08 May 2011 14:45:45 -0700, Keith Goodman wrote: > I'm writing a function that accepts four possible dtypes: int32, int64, > float32, float64. The function will call a C extension (wrapped in > Cython). What are the equivalent C types? int, long, float, double, > respectively? Will that work o