On Wed, Jul 1, 2009 at 1:59 AM, David Cournapeau < [email protected]> wrote:
> Hi, > > I would like to add an explicit configuration test to check that our > complex type is compatible with the C99 complex type (when available). > Is this ok ? > > As currently defined, complex c types (npy_cfloat, etc...) are not > defined in a way such as they are binary compatible with the C99 complex > type. Strictly speaking, packing the complex type is an ABI break, but > we already make the assumption in ufunc, so we would have wrong > results/crashes currently if it were not packed, so I believe the check > is harmless by itself. The rationale is that I would like to add support > for complex math in npy_math (cabs, cexp, etc...). As I would like to > use the C99 complex type (when available), this requires that numpy > complex type is ABI compatible with C99 type. > What do you mean by "packing" ? Chuck
_______________________________________________ Numpy-discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
