dtoa.h 458 B

12345678910111213141516171819
  1. #ifndef Py_LIMITED_API
  2. #ifndef PY_NO_SHORT_FLOAT_REPR
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. PyAPI_FUNC(double) _Py_dg_strtod(const char *str, char **ptr);
  7. PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits,
  8. int *decpt, int *sign, char **rve);
  9. PyAPI_FUNC(void) _Py_dg_freedtoa(char *s);
  10. PyAPI_FUNC(double) _Py_dg_stdnan(int sign);
  11. PyAPI_FUNC(double) _Py_dg_infinity(int sign);
  12. #ifdef __cplusplus
  13. }
  14. #endif
  15. #endif
  16. #endif