From: Paul Eggert Date: Sat, 12 Jul 2025 05:09:00 +0000 (-0700) Subject: ftoastr: suggest a better algorithm X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b824c4f26c122ce14b4be9cfe8d67cc68cb58e0;p=thirdparty%2Fgnulib.git ftoastr: suggest a better algorithm * lib/ftoastr.c: Also mention Dragonbox. --- diff --git a/lib/ftoastr.c b/lib/ftoastr.c index 1cef8bb6c7..2438ffe837 100644 --- a/lib/ftoastr.c +++ b/lib/ftoastr.c @@ -114,6 +114,10 @@ FTOASTR (char *buf, size_t bufsize, int flags, int width, FLOAT x) /* The following method is simple but slow. For ideas about speeding things up, please see: + Jeon J. Dragonbox: a new floating-point binary-to-decimal + conversion algorithm. 2024. . + Used in {fmt} . + Adams U. Ryū: fast float-to-string conversion. PLDI 2018. 270–282. . */