Subject: Re: lib/17630: atof(3) lacks of some precision
To: None <gnats-bugs@gnats.netbsd.org>
From: Eric Jacoboni <jaco@teaser.fr>
List: netbsd-bugs
Date: 07/18/2002 11:35:36
>>>>> "David" == David Laight <david@l8s.co.uk> writes:
David> It also points you at strtod....
David> What more do you want?
Just the truth...
According to WG14/N869 Committee Draft, section 7.20.1.1, and manpages
of some other Unices:
Description
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