This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 0/2] New strfrom functions
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: "Gabriel F. T. Gomes" <gftg at linux dot vnet dot ibm dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 25 Aug 2016 13:41:36 +0200
- Subject: Re: [PATCH 0/2] New strfrom functions
- Authentication-results: sourceware.org; auth=none
- References: <1471967068-28888-1-git-send-email-gftg@linux.vnet.ibm.com>
* Gabriel F. T. Gomes:
> The following patches add the functions strfromd, strfromf, and strfroml, as
> well as their wide character counterparts, wcsfromd, wcsfromf, and wcsfroml.
>
> This is being done in preparation for strfromf128.
>
> Tested on ppc, ppc64, ppc64le, s390, and x86_64.
>
> Gabriel F. T. Gomes (1):
> Add strfrom{d,f,l} and wcsfrom{d,f,l} functions
Does the standard also contain some gdtoa-like functionality (string
formatting which results in the shortest possible representation and
converts back to the original number)?
This seems to be lacking from the standard library, and it is rather
non-trivial to implement efficiently.