Skip to content

Commit 4dadcd4

Browse files
bpo-26121: Use C library implementation for math functions erf() and erfc() on Windows. (#632)
1 parent 27abb0e commit 4dadcd4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

PC/pyconfig.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,4 +684,10 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
684684
least significant byte first */
685685
#define DOUBLE_IS_LITTLE_ENDIAN_IEEE754 1
686686

687+
/* Define to 1 if you have the `erf' function. */
688+
#define HAVE_ERF 1
689+
690+
/* Define to 1 if you have the `erfc' function. */
691+
#define HAVE_ERFC 1
692+
687693
#endif /* !Py_CONFIG_H */

0 commit comments

Comments
 (0)