aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2012-01-03 21:46:19 +1030
committerMark Pulford <mark@kyne.com.au>2012-03-04 18:54:34 +1030
commitc89cc8e243054cd8da22aa52f932471219c9a2e5 (patch)
tree0323e1e1da94c408776aaa5070a51f7e3084c854
parentca42b9a996f9046ba3876ad8a81cda1d935b39cf (diff)
downloadlua-cjson-c89cc8e243054cd8da22aa52f932471219c9a2e5.tar.gz
lua-cjson-c89cc8e243054cd8da22aa52f932471219c9a2e5.tar.bz2
lua-cjson-c89cc8e243054cd8da22aa52f932471219c9a2e5.zip
Document dtoa build options
-rw-r--r--manual.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/manual.txt b/manual.txt
index 72dd196..dca5b64 100644
--- a/manual.txt
+++ b/manual.txt
@@ -121,6 +121,22 @@ DISABLE_INVALID_NUMBERS:: Recommended on platforms where ++strtod++(3) /
121 the +cjson.refuse_invalid_numbers+ runtime configuration to +true+. 121 the +cjson.refuse_invalid_numbers+ runtime configuration to +true+.
122 122
123 123
124Built-in dtoa() support
125^^^^^^^^^^^^^^^^^^^^^^^
126
127Lua CJSON may be built with David Gay's
128http://www.netlib.org/fp/[floating point conversion routines]. This
129can increase overall performance by 50% or more on some platforms when
130converting data number heavy data. However, this option reduces
131portability and is disabled by default.
132
133[horizontal]
134USE_INTERNAL_DTOA:: Enable internal number conversion routines.
135IEEE_BIG_ENDIAN:: Must be set on big endian architectures.
136MULTIPLE_THREADS:: Must be set when Lua CJSON may be used in a
137 multi-threaded application. Requries _pthreads_.
138
139
124API (Functions) 140API (Functions)
125--------------- 141---------------
126 142