Skip to content

Commit e15236d

Browse files
committed
One more Py_HUGE_VAL -> Py_INFINITY replacement
1 parent efd67bc commit e15236d

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
@@ -406,7 +406,7 @@ m_tgamma(double x)
406406
if (x == 0.0) {
407407
errno = EDOM;
408408
/* tgamma(+-0.0) = +-inf, divide-by-zero */
409-
return copysign(Py_HUGE_VAL, x);
409+
return copysign(Py_INFINITY, x);
410410
}
411411

412412
/* integer arguments */

0 commit comments

Comments
 (0)