Server IP : 192.64.118.117 / Your IP : 18.191.11.237 Web Server : LiteSpeed System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64 User : thecgapy ( 1160) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/opt/alt/python312/include/python3.12/internal/ |
Upload File : |
#ifndef Py_INTERNAL_FLOATOBJECT_H #define Py_INTERNAL_FLOATOBJECT_H #ifdef __cplusplus extern "C" { #endif #ifndef Py_BUILD_CORE # error "this header requires Py_BUILD_CORE define" #endif /* runtime lifecycle */ extern void _PyFloat_InitState(PyInterpreterState *); extern PyStatus _PyFloat_InitTypes(PyInterpreterState *); extern void _PyFloat_Fini(PyInterpreterState *); extern void _PyFloat_FiniType(PyInterpreterState *); /* other API */ enum _py_float_format_type { _py_float_format_unknown, _py_float_format_ieee_big_endian, _py_float_format_ieee_little_endian, }; struct _Py_float_runtime_state { enum _py_float_format_type float_format; enum _py_float_format_type double_format; }; #ifndef WITH_FREELISTS // without freelists # define PyFloat_MAXFREELIST 0 #endif #ifndef PyFloat_MAXFREELIST # define PyFloat_MAXFREELIST 100 #endif struct _Py_float_state { #if PyFloat_MAXFREELIST > 0 /* Special free list free_list is a singly-linked list of available PyFloatObjects, linked via abuse of their ob_type members. */ int numfree; PyFloatObject *free_list; #endif }; void _PyFloat_ExactDealloc(PyObject *op); PyAPI_FUNC(void) _PyFloat_DebugMallocStats(FILE* out); /* Format the object based on the format_spec, as defined in PEP 3101 (Advanced String Formatting). */ PyAPI_FUNC(int) _PyFloat_FormatAdvancedWriter( _PyUnicodeWriter *writer, PyObject *obj, PyObject *format_spec, Py_ssize_t start, Py_ssize_t end); #ifdef __cplusplus } #endif #endif /* !Py_INTERNAL_FLOATOBJECT_H */