Subject: Re: lib/17630: atof(3) lacks of some precision
To: None <jaco@scrogneugneu.org>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 07/18/2002 10:26:28
> atof(3) says: "It is equivalent to: strtod(nptr, (char **)NULL);"
> But, imho, it's not enough as error handling is far more complete
> with strtod().
Well the source is:
double
atof(ascii)
const char *ascii;
{
_DIAGASSERT(ascii != NULL);
return (strtod(ascii, NULL));
}
So the man page cannot be wrong!
It also points you at strtod....
What more do you want?
David
--
David Laight: david@l8s.co.uk