From 5d840271f62c5a51bb83d561181de860086bb6be Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Thu, 4 Feb 2016 13:19:58 +0000 Subject: Bug 696546: Minor tweaks to ftoa code. Thanks to Simon Reinhardt for these. --- include/mupdf/fitz/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/mupdf/fitz/string.h b/include/mupdf/fitz/string.h index 878610e2..81429b67 100644 --- a/include/mupdf/fitz/string.h +++ b/include/mupdf/fitz/string.h @@ -122,7 +122,7 @@ float fz_strtof_no_exp(const char *string, char **tailptr); fz_grisu: Compute decimal integer m, exp such that: f = m * 10^exp m is as short as possible without losing exactness - Assumes special cases (NaN, +Inf, -Inf) have been handled. + Assumes special cases (0, NaN, +Inf, -Inf) have been handled. */ int fz_grisu(float f, char *s, int *exp); -- cgit v1.2.3