Skip to content

Commit 35bd457

Browse files
authored
Update Modules/mathmodule.c
1 parent e1c2f99 commit 35bd457

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/mathmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2163,7 +2163,7 @@ math_ldexp_impl(PyObject *module, double x, PyObject *i)
21632163
} else {
21642164
errno = 0;
21652165
r = ldexp(x, (int)exp);
2166-
#if _MSC_VER
2166+
#ifdef _MSC_VER
21672167
if (-DBL_MIN < r && r < DBL_MIN) {
21682168
/* Denormal (or zero) results can be incorrectly rounded here (rather,
21692169
truncated). Fixed in newer versions of the C runtime, included

0 commit comments

Comments
 (0)