bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Easy Accurate Reading and Writing of Floating-Point Numbers


From: Marc Nieper-Wißkirchen
Subject: Re: Easy Accurate Reading and Writing of Floating-Point Numbers
Date: Thu, 25 Jun 2020 21:33:26 +0200

Hi Bruno,

thank you very much.

Best regards,

Marc

Am Do., 25. Juni 2020 um 21:19 Uhr schrieb Bruno Haible <bruno@clisp.org>:
>
> > Marc Nieper-Wißkirchen wrote:
> > > Please see the attached patch file, my first attempt (and first
> > > contribution to Gnulib).
> >
> > The patch looks all correct.
> >
> > The only (tiny) issue is a matter of style: Two of the new module files 
> > don't
> > end in a newline.
>
> I've pushed Marc's patch in his name, with the newlines fixed.
>
>
> 2020-06-25  Marc Nieper-Wißkirchen  <marc@nieper-wisskirchen.de>
>
>         c-dtoastr, c-ldtoastr: new modules
>         These modules provide the same functionality as the modules
>         dtoastr and ldtoastr except for the formatting taking place in the
>         C locale.
>         * MODULES.html.sh: Add c-dtoastr and c-ldtoastr.
>         * lib/c-dtoastr.c, lib/c-ldtoastr.c: New files.
>         * lib/ftoastr.c: Prefix exported functions when the macro C_LOCALE is
>         defined.  Use c_snprintf and c_strtod/c_strtold instead of
>         snprintf and strtod/strtold whhen the macro C_LOCALE is defined.
>         * lib/ftoastr.h: Add prototypes for c_dtoastr and c_ldtoastr.
>         * modules/c-dtoastr, modules/c-dtoastr-tests, modules/c-ldtoastr,
>         modules/c-ldtoastr-tests: New files.
>         * tests/test-c-dtoastr.c, tests/test-c-dtoastr.sh,
>         tests-c-ldtoastr.c tests-c-ldtoastr.sh: New files.
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]