Martin v. Löwis | 4d0d471 | 2010-12-03 20:14:31 +0000 | [diff] [blame] | 1 | #ifndef Py_LIMITED_API |
Mark Dickinson | b08a53a | 2009-04-16 19:52:09 +0000 | [diff] [blame] | 2 | #ifndef PY_NO_SHORT_FLOAT_REPR |
| 3 | #ifdef __cplusplus |
| 4 | extern "C" { |
| 5 | #endif |
| 6 | |
| 7 | PyAPI_FUNC(double) _Py_dg_strtod(const char *str, char **ptr); |
| 8 | PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits, |
| 9 | int *decpt, int *sign, char **rve); |
| 10 | PyAPI_FUNC(void) _Py_dg_freedtoa(char *s); |
Mark Dickinson | e383e82 | 2012-04-29 15:31:56 +0100 | [diff] [blame] | 11 | PyAPI_FUNC(double) _Py_dg_stdnan(int sign); |
| 12 | PyAPI_FUNC(double) _Py_dg_infinity(int sign); |
Mark Dickinson | b08a53a | 2009-04-16 19:52:09 +0000 | [diff] [blame] | 13 | |
| 14 | |
| 15 | #ifdef __cplusplus |
| 16 | } |
| 17 | #endif |
| 18 | #endif |
Martin v. Löwis | 4d0d471 | 2010-12-03 20:14:31 +0000 | [diff] [blame] | 19 | #endif |