Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit be42cae

Browse files
committed
MAINT: fix ldexp/frexp changes to compile with MSVC.
Regenerated loops.h.
1 parent 1fb1b74 commit be42cae

2 files changed

Lines changed: 79 additions & 104 deletions

File tree

numpy/core/src/private/npy_config.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,6 @@
1010
#undef HAVE_HYPOT
1111
#endif
1212

13-
/* Safe to use ldexp and frexp for long double for MSVC builds */
14-
#if (NPY_SIZEOF_LONGDOUBLE == NPY_SIZEOF_DOUBLE) || defined(_MSC_VER)
15-
#ifdef HAVE_LDEXP
16-
#define HAVE_LDEXPL 1
17-
#endif
18-
#ifdef HAVE_FREXP
19-
#define HAVE_FREXPL 1
20-
#endif
21-
#endif
22-
2313
/* Disable broken Sun Workshop Pro math functions */
2414
#ifdef __SUNPRO_C
2515
#undef HAVE_ATAN2

0 commit comments

Comments
 (0)