I want to add a question: is there a function that returns the name of the corresponding C type given the numpy type?
On Sun, May 8, 2011 at 2:45 PM, Keith Goodman <kwgood...@gmail.com> 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 on all systems? > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion >
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion