Subject: Re: lib/17630: atof(3) lacks of some precision
To: None <email@example.com>
From: Eric Jacoboni <firstname.lastname@example.org>
Date: 07/18/2002 11:35:36
>>>>> "David" == David Laight <email@example.com> writes:
David> It also points you at strtod....
David> What more do you want?
Just the truth...
According to WG14/N869 Committee Draft, section 18.104.22.168, 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