pyfpe.c 374 B

123456789101112131415161718
  1. /* These variables used to be used when Python was built with --with-fpectl,
  2. * but support for that was dropped in 3.7. We continue to define them,
  3. * though, because they may be referenced by extensions using the stable ABI.
  4. */
  5. #ifdef HAVE_SETJMP_H
  6. #include <setjmp.h>
  7. jmp_buf PyFPE_jbuf;
  8. #endif
  9. int PyFPE_counter;
  10. double
  11. PyFPE_dummy(void *dummy)
  12. {
  13. return 1.0;
  14. }