2 /* Just in case you haven't got an atof() around...
3 This one doesn't check for bad syntax or overflow,
4 and is slow and inaccurate.
5 But it's good enough for the occasional string literal... */
16 while ((c
= *s
++) != '\0' && isdigit(c
)) {
17 a
= a
*10.0 + (c
- '0');
20 while ((c
= *s
++) != '\0' && isdigit(c
)) {
21 a
= a
*10.0 + (c
- '0');
25 if (c
== 'e' || c
== 'E') {