1/* Lua CJSON floating point conversion routines */
2
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 */
7# define FPCONV_G_FMT_BUFSIZE 32
8
9#ifdef USE_INTERNAL_FPCONV
10static inline void fpconv_init()
11{
12 /* Do nothing - not required */
13}
14#else
15extern void fpconv_init();
16#endif
17
18extern int fpconv_g_fmt(char*, double, int);
19extern double fpconv_strtod(const char*, char**);
20
21/* vi:ai et sw=4 ts=4:
22 */
23