This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] benchtests: Improve readability of JSON output


On 8 April 2014 11:24, Florian Weimer <fweimer@redhat.com> wrote:
> On 04/08/2014 12:15 PM, Will Newton wrote:
>
>>> Getting this right is quite a challenge for other (real) JSON libraries.
>>> They are also affected by the locale issue.
>>
>>
>> Luckily we don't need to be 100% general here and we have quite a
>> narrow use case.
>
>
> Sure, it's not a problem for benchtests reporting.  It's just something that
> keeps showing up in various C JSON libraries.
>
> It's a pity that we don't have (on GNU/Linux at least) a canonical library
> to get gdtoa-type functionality from.

I think the "a" specifier would work but JSON does not support hex formats.

-- 
Will Newton
Toolchain Working Group, Linaro


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]