1989-05-16 13:13:53 +00:00
|
|
|
/* $Header$ */
|
|
|
|
|
1990-09-07 11:00:24 +00:00
|
|
|
#include <stdlib.h>
|
1989-12-18 15:14:14 +00:00
|
|
|
#include "ext_fmt.h"
|
1989-05-16 13:13:53 +00:00
|
|
|
|
1990-09-07 11:00:24 +00:00
|
|
|
void _str_ext_cvt(const char *s, char **ss, struct EXTEND *e);
|
1989-12-18 15:14:14 +00:00
|
|
|
double _ext_dbl_cvt(struct EXTEND *e);
|
1989-05-16 13:13:53 +00:00
|
|
|
|
|
|
|
double
|
1990-09-07 11:00:24 +00:00
|
|
|
strtod(const char *p, char **pp)
|
1989-05-16 13:13:53 +00:00
|
|
|
{
|
1989-12-18 15:14:14 +00:00
|
|
|
struct EXTEND e;
|
1989-05-16 13:13:53 +00:00
|
|
|
|
1989-12-18 15:14:14 +00:00
|
|
|
_str_ext_cvt(p, pp, &e);
|
|
|
|
return _ext_dbl_cvt(&e);
|
1989-05-16 13:13:53 +00:00
|
|
|
}
|