Subject: Re: lib/17630: atof(3) lacks of some precision
To: None <>
From: David Laight <>
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:

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 Laight: