diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/fitz/string.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mupdf/fitz/string.h b/include/mupdf/fitz/string.h index 010dc46a..0c1789bc 100644 --- a/include/mupdf/fitz/string.h +++ b/include/mupdf/fitz/string.h @@ -108,11 +108,11 @@ int fz_runelen(int rune); double fz_strtod(const char *s, char **es); /* - fz_ftoa: Compute decimal integer m, exp such that: + 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. */ -void fz_ftoa(float f, char *s, int *exp, int *neg, int *ns); +int fz_grisu(float f, char *s, int *exp); #endif |