summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-02-04 13:19:58 +0000
committerRobin Watts <robin.watts@artifex.com>2016-02-04 13:19:58 +0000
commit5d840271f62c5a51bb83d561181de860086bb6be (patch)
tree6af7d16fa8b428bc0cfc0842c4d499ba106094e6 /include
parent560db0c72d5bf6404378a8ac3bd1de9af3efa835 (diff)
downloadmupdf-5d840271f62c5a51bb83d561181de860086bb6be.tar.xz
Bug 696546: Minor tweaks to ftoa code.
Thanks to Simon Reinhardt for these.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/string.h2
1 files changed, 1 insertions, 1 deletions
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);