mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
New form of PyFPE_END_PROTECT macro.
This commit is contained in:
parent
1aeb1047ba
commit
45b83915f8
12 changed files with 36 additions and 36 deletions
|
@ -249,7 +249,7 @@ math_1(args, func)
|
|||
errno = 0;
|
||||
PyFPE_START_PROTECT("complex function", return 0)
|
||||
x = (*func)(x);
|
||||
PyFPE_END_PROTECT
|
||||
PyFPE_END_PROTECT(x)
|
||||
CHECK(x.real);
|
||||
CHECK(x.imag);
|
||||
if (errno != 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue