Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
pycore_floatobject.h50 linesDownload Raw Back to internal
1#ifndef Py_INTERNAL_FLOATOBJECT_H2#define Py_INTERNAL_FLOATOBJECT_H3#ifdef __cplusplus4extern "C" {5#endif6 7#ifndef Py_BUILD_CORE8#  error "this header requires Py_BUILD_CORE define"9#endif10 11#include "pycore_unicodeobject.h" // _PyUnicodeWriter12 13/* runtime lifecycle */14 15extern void _PyFloat_InitState(PyInterpreterState *);16extern PyStatus _PyFloat_InitTypes(PyInterpreterState *);17extern void _PyFloat_FiniType(PyInterpreterState *);18 19 20 21 22PyAPI_FUNC(void) _PyFloat_ExactDealloc(PyObject *op);23 24 25extern void _PyFloat_DebugMallocStats(FILE* out);26 27 28/* Format the object based on the format_spec, as defined in PEP 310129   (Advanced String Formatting). */30extern int _PyFloat_FormatAdvancedWriter(31    _PyUnicodeWriter *writer,32    PyObject *obj,33    PyObject *format_spec,34    Py_ssize_t start,35    Py_ssize_t end);36 37extern PyObject* _Py_string_to_number_with_underscores(38    const char *str, Py_ssize_t len, const char *what, PyObject *obj, void *arg,39    PyObject *(*innerfunc)(const char *, Py_ssize_t, void *));40 41extern double _Py_parse_inf_or_nan(const char *p, char **endptr);42 43extern int _Py_convert_int_to_double(PyObject **v, double *dbl);44 45 46#ifdef __cplusplus47}48#endif49#endif /* !Py_INTERNAL_FLOATOBJECT_H */50 
codekingpro/portable-devtools · Team Ai