This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ecvt is completly broken


Thorsten Kukuk <kukuk@suse.de> writes:

> ecvt/ecvt_r and I think the similar functions are completly broken
> if the ndigits parameter is greater then DBL_DIG (15).

It's not completely broken.  The standard say

	Converts value to a null-terminated string of ndigit digits (where
	ndigit is reduced to an unspecified limit determined by the precision
	of a double)

So, if anything is broken than that we currently do not reset ndigits
to a reasonable value.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]