blob: 9bfb6251db831c59579b157625e8a3fc492d1e77 [file] [log] [blame]
Martin v. Löwis4d0d4712010-12-03 20:14:31 +00001#ifndef Py_LIMITED_API
Mark Dickinsonb08a53a2009-04-16 19:52:09 +00002#ifndef PY_NO_SHORT_FLOAT_REPR
3#ifdef __cplusplus
4extern "C" {
5#endif
6
7PyAPI_FUNC(double) _Py_dg_strtod(const char *str, char **ptr);
8PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits,
9 int *decpt, int *sign, char **rve);
10PyAPI_FUNC(void) _Py_dg_freedtoa(char *s);
Mark Dickinsone383e822012-04-29 15:31:56 +010011PyAPI_FUNC(double) _Py_dg_stdnan(int sign);
12PyAPI_FUNC(double) _Py_dg_infinity(int sign);
Mark Dickinsonb08a53a2009-04-16 19:52:09 +000013
14
15#ifdef __cplusplus
16}
17#endif
18#endif
Martin v. Löwis4d0d4712010-12-03 20:14:31 +000019#endif