blob: 31ef5d73b70ac70a9f6e449a437e68b698e09590 [file] [log] [blame]
Nathaniel J. Smith735ae8d2018-01-05 23:15:34 -08001/* 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.
Guido van Rossum0ae748d1997-02-14 22:58:07 +00004 */
5
Nathaniel J. Smith735ae8d2018-01-05 23:15:34 -08006#include "setjmp.h"
Guido van Rossumd0dc5b01998-08-25 17:48:25 +00007
Nathaniel J. Smith735ae8d2018-01-05 23:15:34 -08008jmp_buf PyFPE_jbuf;
9int PyFPE_counter;
Guido van Rossumd0dc5b01998-08-25 17:48:25 +000010
11double
Thomas Woutersf70ef4f2000-07-22 18:47:25 +000012PyFPE_dummy(void *dummy)
Guido van Rossumd0dc5b01998-08-25 17:48:25 +000013{
Serhiy Storchaka598ceae2017-11-28 17:56:10 +020014 return 1.0;
Guido van Rossumd0dc5b01998-08-25 17:48:25 +000015}