Subject: Re: lib/17630: atof(3) lacks of some precision
To: None <firstname.lastname@example.org>
From: Eric Jacoboni <email@example.com>
Date: 07/18/2002 11:35:36
>>>>> "David" == David Laight <firstname.lastname@example.org> writes:
David> It also points you at strtod....
David> What more do you want?
Just the truth...
According to WG14/N869 Committee Draft, section 126.96.36.199, and manpages
of some other Unices:
2 The atof function converts the initial portion of the string pointed
to by nptr to double representation. Except for the behavior on error,
it is equivalent to
strtod(nptr, (char **)NULL)
NetBSD manpage seems to insinuate that atof() is simpy equivalent to
strtod(nptr, (char **)NULL). It's not sufficient (as far i understand
the english word "equivalent").
Éric Jacoboni, né il y a 1330428568 secondes