8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 08154bd + 9d36e08 commit 0df9501Copy full SHA for 0df9501
numpy/core/include/numpy/numpyconfig.h
@@ -23,12 +23,18 @@
23
#undef NPY_SIZEOF_LONGDOUBLE
24
#undef NPY_SIZEOF_COMPLEX_LONGDOUBLE
25
26
- #ifdef __x86_64
27
- #define NPY_SIZEOF_LONGDOUBLE 16
28
- #define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
29
- #elif defined(__arm64__)
+ #if defined(__arm64__)
30
#define NPY_SIZEOF_LONGDOUBLE 8
31
#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 16
+ #elif defined(__x86_64)
+ #define NPY_SIZEOF_LONGDOUBLE 16
+ #define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
32
+ #elif defined (__i386)
33
+ #define NPY_SIZEOF_LONGDOUBLE 12
34
+ #define NPY_SIZEOF_COMPLEX_LONGDOUBLE 24
35
+ #elif defined(__ppc__) || defined (__ppc64__)
36
37
38
#else
39
#error "unknown architecture"
40
#endif
0 commit comments