This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 0/2] New strfrom functions
On Thu, 25 Aug 2016 08:07:17 -0700
Paul Eggert <eggert@cs.ucla.edu> wrote:
> Florian Weimer wrote:
> > 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)?
>
> I don't see anything about it in the latest draft I could find, at:
> http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1778.pdf
It is also my understanding that this is not in the standard.
>
> The actual ISO/IEC TS 18661-1 standard costs too much for me.
>
> > This seems to be lacking from the standard library, and it is rather
> > non-trivial to implement efficiently.
>
> It would be nice to have this capability in glibc. Emacs would use it. Currently
> Emacs uses an inefficient algorithm to print floating-point numbers.
>
I don't have plans to start working on it... My current priority is the
enabling of float128.