mirror of
https://github.com/python/cpython.git
synced 2024-12-14 04:17:19 +08:00
20 lines
458 B
C
20 lines
458 B
C
#ifndef Py_LIMITED_API
|
|
#ifndef PY_NO_SHORT_FLOAT_REPR
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
PyAPI_FUNC(double) _Py_dg_strtod(const char *str, char **ptr);
|
|
PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits,
|
|
int *decpt, int *sign, char **rve);
|
|
PyAPI_FUNC(void) _Py_dg_freedtoa(char *s);
|
|
PyAPI_FUNC(double) _Py_dg_stdnan(int sign);
|
|
PyAPI_FUNC(double) _Py_dg_infinity(int sign);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|
|
#endif
|