diff options
author | Mike Pall <mike> | 2015-08-19 02:10:36 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2015-08-19 02:10:36 +0200 |
commit | eb050f9e2abc7432b17059f900c70bf7ce5575c9 (patch) | |
tree | b163cd6368ce0785ce4f65a076d11f8db4fd9409 /doc | |
parent | 0dcd2d129241964925e27831fa61194a8dbe6191 (diff) | |
download | luajit-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.html | 4 | ||||
-rw-r--r-- | doc/extensions.html | 2 |
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. | |||
546 | The parser for Lua source code treats numeric literals with the | 546 | The parser for Lua source code treats numeric literals with the |
547 | suffixes <tt>LL</tt> or <tt>ULL</tt> as signed or unsigned 64 bit | 547 | suffixes <tt>LL</tt> or <tt>ULL</tt> as signed or unsigned 64 bit |
548 | integers. Case doesn't matter, but uppercase is recommended for | 548 | integers. Case doesn't matter, but uppercase is recommended for |
549 | readability. It handles both decimal (<tt>42LL</tt>) and hexadecimal | 549 | readability. 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> |
553 | The imaginary part of complex numbers can be specified by suffixing | 553 | The 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> |
185 | All string-to-number conversions consistently convert integer and | 185 | All string-to-number conversions consistently convert integer and |
186 | floating-point inputs in decimal and hexadecimal on all platforms. | 186 | floating-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 |
188 | problems with poor C library implementations. The builtin conversion | 188 | problems with poor C library implementations. The builtin conversion |
189 | function provides full precision according to the IEEE-754 standard, it | 189 | function provides full precision according to the IEEE-754 standard, it |