aboutsummaryrefslogtreecommitdiff
path: root/fpconv.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpconv.h')
-rw-r--r--fpconv.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/fpconv.h b/fpconv.h
index b8a6469..ea875c0 100644
--- a/fpconv.h
+++ b/fpconv.h
@@ -1,9 +1,12 @@
1/* Lua CJSON floating point conversion routines */ 1/* Lua CJSON floating point conversion routines */
2 2
3/* Buffer larger than required to store the largest %.14g number */ 3/* Buffer required to store the largest string representation of a double.
4 *
5 * Longest double printed with %.14g is 21 characters long:
6 * -1.7976931348623e+308 */
4# define FPCONV_G_FMT_BUFSIZE 32 7# define FPCONV_G_FMT_BUFSIZE 32
5 8
6extern void fpconv_update_locale(); 9extern void fpconv_init();
7extern int fpconv_g_fmt(char*, double, int); 10extern int fpconv_g_fmt(char*, double, int);
8extern double fpconv_strtod(const char*, char**); 11extern double fpconv_strtod(const char*, char**);
9 12