strtod.c 312 B

1234567891011121314151617181920
  1. /* $Id$ */
  2. #include <stdlib.h>
  3. #include "ext_fmt.h"
  4. #ifndef ACKCONF_NO_STDIO_FLOAT
  5. void _str_ext_cvt(const char *s, char **ss, struct EXTEND *e);
  6. double _ext_dbl_cvt(struct EXTEND *e);
  7. double
  8. strtod(const char *p, char **pp)
  9. {
  10. struct EXTEND e;
  11. _str_ext_cvt(p, pp, &e);
  12. return _ext_dbl_cvt(&e);
  13. }
  14. #endif