zend_strtod.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. +----------------------------------------------------------------------+
  3. | Zend Engine |
  4. +----------------------------------------------------------------------+
  5. | Copyright (c) 1998-2018 Zend Technologies Ltd. (http://www.zend.com) |
  6. +----------------------------------------------------------------------+
  7. | This source file is subject to version 2.00 of the Zend license, |
  8. | that is bundled with this package in the file LICENSE, and is |
  9. | available through the world-wide-web at the following url: |
  10. | http://www.zend.com/license/2_00.txt. |
  11. | If you did not receive a copy of the Zend license and are unable to |
  12. | obtain it through the world-wide-web, please send a note to |
  13. | license@zend.com so we can mail you a copy immediately. |
  14. +----------------------------------------------------------------------+
  15. | Authors: Derick Rethans <derick@php.net> |
  16. +----------------------------------------------------------------------+
  17. */
  18. /* This is a header file for the strtod implementation by David M. Gay which
  19. * can be found in zend_strtod.c */
  20. #ifndef ZEND_STRTOD_H
  21. #define ZEND_STRTOD_H
  22. #include <zend.h>
  23. BEGIN_EXTERN_C()
  24. ZEND_API void zend_freedtoa(char *s);
  25. ZEND_API char * zend_dtoa(double _d, int mode, int ndigits, int *decpt, int *sign, char **rve);
  26. ZEND_API double zend_strtod(const char *s00, const char **se);
  27. ZEND_API double zend_hex_strtod(const char *str, const char **endptr);
  28. ZEND_API double zend_oct_strtod(const char *str, const char **endptr);
  29. ZEND_API double zend_bin_strtod(const char *str, const char **endptr);
  30. ZEND_API int zend_startup_strtod(void);
  31. ZEND_API int zend_shutdown_strtod(void);
  32. END_EXTERN_C()
  33. #endif
  34. /*
  35. * Local variables:
  36. * tab-width: 4
  37. * c-basic-offset: 4
  38. * indent-tabs-mode: t
  39. * End:
  40. * vim600: sw=4 ts=4 fdm=marker
  41. * vim<600: sw=4 ts=4
  42. */