[PATCH v2] ldtoa: Fix insufficient valid output digits for "%f" format.
Corinna Vinschen
vinschen@redhat.com
Fri Nov 26 10:09:38 GMT 2021
On Nov 26 06:49, Takashi Yano wrote:
> - If the number has large integer part and small fraction part is
> specified in output format, e.g. printf("%.3f", sqrt(2)*1e60);,
> valid output digits were insufficient. This patch fixes the issue.
> ---
> newlib/libc/stdlib/ldtoa.c | 41 +++++++++++++++++++++++---------------
> 1 file changed, 25 insertions(+), 16 deletions(-)
LGTM, please push.
Thanks,
Corinna
More information about the Newlib
mailing list