ftoastr: cite a newer paper
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 23 Apr 2017 01:34:07 +0000 (18:34 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 23 Apr 2017 01:34:52 +0000 (18:34 -0700)
* lib/ftoastr.c (FTOASTR): In comment, cite Andrysco et al. 2016
instead of Loitsch 2010.

ChangeLog
lib/ftoastr.c

index b365e9e2ad5645395e5ad91b5336c178bcbca68e..ad436a76a7fa659cd0d78d5d6e93828a8667dda4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-04-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       ftoastr: cite a newer paper
+       * lib/ftoastr.c (FTOASTR): In comment, cite Andrysco et al. 2016
+       instead of Loitsch 2010.
+
 2017-04-22  Bruno Haible  <bruno@clisp.org>
 
         poll: Enable argument check also in the Windows implementation.
index ef861e2237a63a2f4b73426e1eabc91968da43c4..f2434161db85e2a0b2caa258bc29d61fa8e60742 100644 (file)
@@ -105,10 +105,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:
 
-     Florian Loitsch, Printing floating-point numbers quickly and accurately
-     with integers.  ACM SIGPLAN notices 46, 6 (June 2010), 233-243
-     <http://dx.doi.org/10.1145/1809028.1806623>; also see the
-     2010-03-21 draft <http://florian.loitsch.com/tmp/article.pdf>.  */
+     Andrysco M, Jhala R, Lerner S. Printing floating-point numbers:
+     a faster, always correct method. ACM SIGPLAN notices - POPL '16.
+     2016;51(1):555-67 <http://dx.doi.org/10.1145/2914770.2837654>; draft at
+     <http://cseweb.ucsd.edu/~lerner/papers/fp-printing-popl16.pdf>.  */
 
   PROMOTED_FLOAT promoted_x = x;
   char format[sizeof "%-+ 0*.*Lg"];