From owner-cvs-all Tue Jan 23 9:47: 5 2001 Delivered-To: cvs-all@freebsd.org Received: from blizzard.sabbo.net (ns.sabbo.net [193.193.218.18]) by hub.freebsd.org (Postfix) with ESMTP id 6E64E37B699; Tue, 23 Jan 2001 09:46:35 -0800 (PST) Received: from vic.sabbo.net (root@vic.sabbo.net [193.193.218.112]) by blizzard.sabbo.net (8.10.1/8.10.1) with ESMTP id f0NHkFU06308; Tue, 23 Jan 2001 19:46:17 +0200 Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.11.1/8.9.3) with ESMTP id f0NHkJQ38202; Tue, 23 Jan 2001 19:46:19 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3A6DC364.8B97DA81@FreeBSD.org> Date: Tue, 23 Jan 2001 19:46:12 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Peter Jeremy Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/devel/clanlib Makefile ports/devel/clanlib/filespatch-Sources_Util_fcvt.c patch-ah References: <200101092309.f09N90P48928@freefall.freebsd.org> <20010112083558.C91242@gsmx07.alcatel.com.au> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Jeremy wrote: > On 2001-Jan-09 15:09:00 -0800, Maxim Sobolev wrote: > >sobomax 2001/01/09 15:09:00 PST > ... > > Added files: > > devel/clanlib/files patch-Sources_Util_fcvt.c > > Log: > > Add SUSv2 compatible fcvt() function ripped from glibc. > > I believe fcvt() is a subset of dtoa(). There is an (undocumented) > dtoa() function (__dtoa()) in libc - it's used by strtod() and *printf() > and the code is physically in src/lib/libc/stdlib/strtod.c > > I have also had occasions when fcvt() or dtoa() would allow simpler > code than sprintf(). Wouldn't we be better off documenting our dtoa() > and allowing other functions to access it? Thanks for the tip - I'll look at it. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message