Pristine Ack-5.5
[Ack-5.5.git] / lang / cem / libcc.ansi / stdlib / strtod.c
1 /* $Id: strtod.c,v 1.4 1994/06/24 11:54:10 ceriel Exp $ */
2
3 #include        <stdlib.h>
4 #include        "ext_fmt.h"
5
6 void _str_ext_cvt(const char *s, char **ss, struct EXTEND *e);
7 double _ext_dbl_cvt(struct EXTEND *e);
8
9 double
10 strtod(const char *p, char **pp)
11 {
12         struct EXTEND e;
13
14         _str_ext_cvt(p, pp, &e);
15         return _ext_dbl_cvt(&e);
16 }