ack/lang/cem/libcc.ansi/stdlib/strtod.c

17 lines
276 B
C

/* $Header$ */
#include <stdlib.h>
#include "ext_fmt.h"
void _str_ext_cvt(const char *s, char **ss, struct EXTEND *e);
double _ext_dbl_cvt(struct EXTEND *e);
double
strtod(const char *p, char **pp)
{
struct EXTEND e;
_str_ext_cvt(p, pp, &e);
return _ext_dbl_cvt(&e);
}