File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ extern "C" {
1313#include "pycore_debug_offsets.h" // _Py_DebugOffsets_INIT()
1414#include "pycore_dtoa.h" // _dtoa_state_INIT()
1515#include "pycore_faulthandler.h" // _faulthandler_runtime_state_INIT
16- #include "pycore_floatobject.h" // _py_float_format_unknown
16+ #include "pycore_floatobject.h" // _py_float_format_*
1717#include "pycore_function.h"
1818#include "pycore_hamt.h" // _PyHamt_BitmapNode_Type
1919#include "pycore_import.h" // IMPORTS_INIT
@@ -85,8 +85,8 @@ extern PyTypeObject _PyExc_MemoryError;
8585 .is_global = 1, \
8686 }, \
8787 .float_state = { \
88- .float_format = _py_float_format_unknown , \
89- .double_format = _py_float_format_unknown , \
88+ .float_format = _py_float_format_ieee_little_endian , \
89+ .double_format = _py_float_format_ieee_little_endian , \
9090 }, \
9191 .types = { \
9292 .next_version_tag = _Py_TYPE_VERSION_NEXT, \
@@ -233,4 +233,4 @@ extern PyTypeObject _PyExc_MemoryError;
233233#ifdef __cplusplus
234234}
235235#endif
236- #endif /* !Py_INTERNAL_RUNTIME_INIT_H */
236+ #endif /* !Py_INTERNAL_RUNTIME_INIT_H */
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ struct _pymem_allocators {
3636};
3737
3838enum _py_float_format_type {
39- _py_float_format_unknown ,
4039 _py_float_format_ieee_big_endian ,
4140 _py_float_format_ieee_little_endian ,
4241};
You can’t perform that action at this time.
0 commit comments