[Numpy-discussion] test for long double support

Neal Becker ndbecker2@gmail....
Tue Sep 14 10:47:24 CDT 2010


Neal Becker wrote:

> What is the recommended way to test for long double and clongdouble?
> 
> Is it:
> #if NPY_SIZEOF_LONGDOUBLE == NPY_SIZEOF_DOUBLE

I guess I found it?

#if HAVE_LONG_DOUBLE		// defined in pyconfig.h




More information about the NumPy-Discussion mailing list