aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Pall <mike>2015-08-19 02:10:36 +0200
committerMike Pall <mike>2015-08-19 02:10:36 +0200
commiteb050f9e2abc7432b17059f900c70bf7ce5575c9 (patch)
treeb163cd6368ce0785ce4f65a076d11f8db4fd9409 /doc
parent0dcd2d129241964925e27831fa61194a8dbe6191 (diff)
downloadluajit-eb050f9e2abc7432b17059f900c70bf7ce5575c9.tar.gz
luajit-eb050f9e2abc7432b17059f900c70bf7ce5575c9.tar.bz2
luajit-eb050f9e2abc7432b17059f900c70bf7ce5575c9.zip
Parse binary number literals (0bxxx).
Diffstat (limited to 'doc')
-rw-r--r--doc/ext_ffi_api.html4
-rw-r--r--doc/extensions.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/ext_ffi_api.html b/doc/ext_ffi_api.html
index 8cf48dc3..b095c05f 100644
--- a/doc/ext_ffi_api.html
+++ b/doc/ext_ffi_api.html
@@ -546,8 +546,8 @@ corresponding ctype.
546The parser for Lua source code treats numeric literals with the 546The parser for Lua source code treats numeric literals with the
547suffixes <tt>LL</tt> or <tt>ULL</tt> as signed or unsigned 64&nbsp;bit 547suffixes <tt>LL</tt> or <tt>ULL</tt> as signed or unsigned 64&nbsp;bit
548integers. Case doesn't matter, but uppercase is recommended for 548integers. Case doesn't matter, but uppercase is recommended for
549readability. It handles both decimal (<tt>42LL</tt>) and hexadecimal 549readability. It handles decimal (<tt>42LL</tt>), hexadecimal
550(<tt>0x2aLL</tt>) literals. 550(<tt>0x2aLL</tt>) and binary (<tt>0b101010LL</tt>) literals.
551</p> 551</p>
552<p> 552<p>
553The imaginary part of complex numbers can be specified by suffixing 553The imaginary part of complex numbers can be specified by suffixing
diff --git a/doc/extensions.html b/doc/extensions.html
index d2f8d7ba..3122051d 100644
--- a/doc/extensions.html
+++ b/doc/extensions.html
@@ -183,7 +183,7 @@ in <tt>"-inf"</tt>.
183<h3 id="tonumber"><tt>tonumber()</tt> etc. use builtin string to number conversion</h3> 183<h3 id="tonumber"><tt>tonumber()</tt> etc. use builtin string to number conversion</h3>
184<p> 184<p>
185All string-to-number conversions consistently convert integer and 185All string-to-number conversions consistently convert integer and
186floating-point inputs in decimal and hexadecimal on all platforms. 186floating-point inputs in decimal, hexadecimal and binary on all platforms.
187<tt>strtod()</tt> is <em>not</em> used anymore, which avoids numerous 187<tt>strtod()</tt> is <em>not</em> used anymore, which avoids numerous
188problems with poor C library implementations. The builtin conversion 188problems with poor C library implementations. The builtin conversion
189function provides full precision according to the IEEE-754 standard, it 189function provides full precision according to the IEEE-754 standard, it