pyfpe.c 345 Bytes
Newer Older
1 2 3
/* These variables used to be used when Python was built with --with-fpectl,
 * but support for that was dropped in 3.7. We continue to define them,
 * though, because they may be referenced by extensions using the stable ABI.
4 5
 */

6
#include "setjmp.h"
7

8 9
jmp_buf PyFPE_jbuf;
int PyFPE_counter;
10 11

double
12
PyFPE_dummy(void *dummy)
13
{
14
    return 1.0;
15
}