diff options
| author | Mark Pulford <mark@kyne.com.au> | 2012-01-03 21:46:19 +1030 |
|---|---|---|
| committer | Mark Pulford <mark@kyne.com.au> | 2012-03-04 18:54:34 +1030 |
| commit | c89cc8e243054cd8da22aa52f932471219c9a2e5 (patch) | |
| tree | 0323e1e1da94c408776aaa5070a51f7e3084c854 | |
| parent | ca42b9a996f9046ba3876ad8a81cda1d935b39cf (diff) | |
| download | lua-cjson-c89cc8e243054cd8da22aa52f932471219c9a2e5.tar.gz lua-cjson-c89cc8e243054cd8da22aa52f932471219c9a2e5.tar.bz2 lua-cjson-c89cc8e243054cd8da22aa52f932471219c9a2e5.zip | |
Document dtoa build options
| -rw-r--r-- | manual.txt | 16 |
1 files changed, 16 insertions, 0 deletions
| @@ -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 | ||
| 124 | Built-in dtoa() support | ||
| 125 | ^^^^^^^^^^^^^^^^^^^^^^^ | ||
| 126 | |||
| 127 | Lua CJSON may be built with David Gay's | ||
| 128 | http://www.netlib.org/fp/[floating point conversion routines]. This | ||
| 129 | can increase overall performance by 50% or more on some platforms when | ||
| 130 | converting data number heavy data. However, this option reduces | ||
| 131 | portability and is disabled by default. | ||
| 132 | |||
| 133 | [horizontal] | ||
| 134 | USE_INTERNAL_DTOA:: Enable internal number conversion routines. | ||
| 135 | IEEE_BIG_ENDIAN:: Must be set on big endian architectures. | ||
| 136 | MULTIPLE_THREADS:: Must be set when Lua CJSON may be used in a | ||
| 137 | multi-threaded application. Requries _pthreads_. | ||
| 138 | |||
| 139 | |||
| 124 | API (Functions) | 140 | API (Functions) |
| 125 | --------------- | 141 | --------------- |
| 126 | 142 | ||
