Subject: lib/17630: atof(3) lacks of some precision
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jaco@scrogneugneu.org>
List: netbsd-bugs
Date: 07/18/2002 10:48:16
>Number:         17630
>Category:       lib
>Synopsis:       Lack of precision when pretending strtod equivalence
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 18 01:49:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Eric Jacoboni
>Release:        NetBSD 1.6D
>Organization:
None
>Environment:
System: NetBSD titine.scrogneugneu.org 1.6D NetBSD 1.6D (TITINE-$Revision: 1.500 $) #58: Wed Jul 10 11:07:25 CEST 2002 root@titine.scrogneugneu.org:/usr/src.cvsup/sys/arch/i386/compile/TITINE i386
Architecture: i386
Machine: i386
>Description:
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(). 

>How-To-Repeat:
N/A
	
>Fix:
Following the n869 draft, i suggest to write:

"Except for the behavior on error, it is equivalent to
 strtod(nptr, (char **)NULL)"
>Release-Note:
>Audit-Trail:
>Unformatted: