aboutsummaryrefslogtreecommitdiff
path: root/doc/extensions.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/extensions.html')
-rw-r--r--doc/extensions.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/extensions.html b/doc/extensions.html
index fe4df6f7..3ed13804 100644
--- a/doc/extensions.html
+++ b/doc/extensions.html
@@ -84,7 +84,7 @@ or LuaJIT.
84</p> 84</p>
85<p> 85<p>
86LuaJIT extends the standard Lua VM with new functionality and adds 86LuaJIT extends the standard Lua VM with new functionality and adds
87several extension modules. Please note this page is only about 87several extension modules. Please note, this page is only about
88<em>functional</em> enhancements and not about performance enhancements, 88<em>functional</em> enhancements and not about performance enhancements,
89such as the optimized VM, the faster interpreter or the JIT compiler. 89such as the optimized VM, the faster interpreter or the JIT compiler.
90</p> 90</p>
@@ -185,7 +185,7 @@ usage. See also the
185</p> 185</p>
186<p> 186<p>
187The generated bytecode is portable and can be loaded on any architecture 187The generated bytecode is portable and can be loaded on any architecture
188that LuaJIT supports, independent of word size or endianess. However the 188that LuaJIT supports, independent of word size or endianess. However, the
189bytecode compatibility versions must match. Bytecode stays compatible 189bytecode compatibility versions must match. Bytecode stays compatible
190for dot releases (x.y.0 &rarr; x.y.1), but may change with major or 190for dot releases (x.y.0 &rarr; x.y.1), but may change with major or
191minor releases (2.0 &rarr; 2.1) or between any beta release. Foreign 191minor releases (2.0 &rarr; 2.1) or between any beta release. Foreign
@@ -197,7 +197,7 @@ bytecode (e.g. from Lua 5.1) is incompatible and cannot be loaded.
197LuaJIT uses a Tausworthe PRNG with period 2^223 to implement 197LuaJIT uses a Tausworthe PRNG with period 2^223 to implement
198<tt>math.random()</tt> and <tt>math.randomseed()</tt>. The quality of 198<tt>math.random()</tt> and <tt>math.randomseed()</tt>. The quality of
199the PRNG results is much superior compared to the standard Lua 199the PRNG results is much superior compared to the standard Lua
200implementation which uses the platform-specific ANSI rand(). 200implementation, which uses the platform-specific ANSI rand().
201</p> 201</p>
202<p> 202<p>
203The PRNG generates the same sequences from the same seeds on all 203The PRNG generates the same sequences from the same seeds on all
@@ -215,7 +215,7 @@ Important: Neither this nor any other PRNG based on the simplistic
215<h3 id="io"><tt>io.*</tt> functions handle 64&nbsp;bit file offsets</h3> 215<h3 id="io"><tt>io.*</tt> functions handle 64&nbsp;bit file offsets</h3>
216<p> 216<p>
217The file I/O functions in the standard <tt>io.*</tt> library handle 217The file I/O functions in the standard <tt>io.*</tt> library handle
21864&nbsp;bit file offsets. In particular this means it's possible 21864&nbsp;bit file offsets. In particular, this means it's possible
219to open files larger than 2&nbsp;Gigabytes and to reposition or obtain 219to open files larger than 2&nbsp;Gigabytes and to reposition or obtain
220the current file position for offsets beyond 2&nbsp;GB 220the current file position for offsets beyond 2&nbsp;GB
221(<tt>fp:seek()</tt> method). 221(<tt>fp:seek()</tt> method).