Mirror of the LuaJIT git repository
Go to file
Sergey Kaplun 09510c3902
DUALNUM: fix tonumber("-0")
For DUALNUM build tonumber("-0x0") or tonumber("-0") returns 0 instead
-0 due to the STRSCAN_OPT_TOINT option of lj_strscan_scan and cast value
to integer with losing information about its sign.

This patch adds special checks for these corner cases during strscan.

Follows-up #528
2021-12-22 23:30:48 +03:00
doc Update Android build docs. 2021-11-13 20:24:06 +01:00
dynasm DynASM/x86: Add missing escape in pattern. 2021-06-08 22:34:22 +02:00
etc Bump copyright date. 2021-01-02 21:49:41 +01:00
src DUALNUM: fix tonumber("-0") 2021-12-22 23:30:48 +03:00
.gitignore RELEASE LuaJIT-2.0.0-beta1 2009-12-08 19:46:35 +01:00
COPYRIGHT Bump copyright date. 2021-01-02 21:49:41 +01:00
Makefile Bump copyright date. 2021-01-02 21:49:41 +01:00
README Bump copyright date. 2021-01-02 21:49:41 +01:00

README for LuaJIT 2.0.5
-----------------------

LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language.

Project Homepage: https://luajit.org/

LuaJIT is Copyright (C) 2005-2021 Mike Pall.
LuaJIT is free software, released under the MIT license.
See full Copyright Notice in the COPYRIGHT file or in luajit.h.

Documentation for LuaJIT is available in HTML format.
Please point your favorite browser to:

 doc/luajit.html