[Numpy-discussion] Mapping of dtype to C types

Keith Goodman kwgoodman at gmail.com
Sun May 8 17:45:45 EDT 2011

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?

More information about the NumPy-Discussion mailing list