2010-12-04 04:14:31 +08:00
|
|
|
#ifndef Py_LIMITED_API
|
2009-04-17 03:52:09 +08:00
|
|
|
#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);
|
2012-04-29 22:31:56 +08:00
|
|
|
PyAPI_FUNC(double) _Py_dg_stdnan(int sign);
|
|
|
|
PyAPI_FUNC(double) _Py_dg_infinity(int sign);
|
2009-04-17 03:52:09 +08:00
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
2010-12-04 04:14:31 +08:00
|
|
|
#endif
|