[Numpy-discussion] test for long double support

Neal Becker ndbecker2 at gmail.com
Tue Sep 14 11:47:24 EDT 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