Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Amend 9c32ae0 (comment restored)
  • Loading branch information
skirpichev committed Sep 2, 2023
commit b991b7c327af625d063449b62c34fdd289b194a4
1 change: 1 addition & 0 deletions Modules/mathmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -971,6 +971,7 @@ math_1(PyObject *arg, double (*func) (double), int can_overflow)
errno = EDOM;
}
if (errno && is_error(r))
Comment thread
skirpichev marked this conversation as resolved.
Outdated
/* this branch unnecessary on most platforms */
return NULL;
return PyFloat_FromDouble(r);
}
Expand Down