Date: Tue, 23 Jan 2001 19:46:12 +0200 From: Maxim Sobolev <sobomax@FreeBSD.org> To: Peter Jeremy <peter.jeremy@alcatel.com.au> 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 Message-ID: <3A6DC364.8B97DA81@FreeBSD.org> References: <200101092309.f09N90P48928@freefall.freebsd.org> <20010112083558.C91242@gsmx07.alcatel.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter Jeremy wrote: > On 2001-Jan-09 15:09:00 -0800, Maxim Sobolev <sobomax@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A6DC364.8B97DA81>