Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jan 1998 12:17:03 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Mike Smith <mike@smith.net.au>
Cc:        albast <albast@xs4all.nl>, questions@FreeBSD.ORG, hackers@FreeBSD.ORG
Subject:   Re: Where's gcvt(3) ??
Message-ID:  <19980126121703.20350@lemis.com>
In-Reply-To: <199801260111.LAA00582@word.smith.net.au>; from Mike Smith on Mon, Jan 26, 1998 at 11:41:12AM %2B1030
References:  <199801252207.XAA14890@xs2.xs4all.nl> <199801260111.LAA00582@word.smith.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 26, 1998 at 11:41:12AM +1030, Mike Smith wrote:
>> Why doesn't FreeBSD (2.2.5) include gcvt(3), which converts
>> a floating-point number to a string?
>
> What is there that gcvt does that the *printf() family don't?

Nothing, if I recall correctly.  Some systems (at least MIPS) use
*cvt() (where * is a subset of the format characters) as part of the
implementation of *printf().  For some reason, this implementation is
bypassing the *printf() layer.

Greg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980126121703.20350>