From: Igor Munkin via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Sergey Kaplun <skaplun@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH luajit 0/2] Fix tonumber("-0") inconsistencies
Date: Thu, 30 Jun 2022 15:09:08 +0300 [thread overview]
Message-ID: <Yr2SZDpSkeE47CHH@tarantool.org> (raw)
In-Reply-To: <cover.1643199076.git.skaplun@tarantool.org>
Sergey,
I've checked the patchset into all long-term branches in
tarantool/luajit and bumped a new version in master, 2.10 and 1.10.
On 26.01.22, Sergey Kaplun wrote:
> This patchset fixes incorrect behaviour for `tonumber("-0")` different
> from Lua 5.1.
>
> The first patch fixes it for non-dualnum mode (default on x86 and x64).
> The second fixes it for dual-number mode too.
> So, there is the corresponding skipcond in the test for the first patch
> that is removed in the next patch.
>
> Related issues/PR:
> * https://github.com/LuaJIT/LuaJIT/issues/528
> * https://github.com/LuaJIT/LuaJIT/pull/787
> * https://github.com/tarantool/tarantool/issues/6548
> Branch: https://github.com/tarantool/tarantool/tree/skaplun/lj-528-tonumber-0-full-ci
> Tarantool branch: https://github.com/tarantool/luajit/tree/skaplun/lj-528-tonumber-0-full-ci
>
> Mike Pall (2):
> Fix tonumber("-0").
> Fix tonumber("-0") in dual-number mode.
>
> src/lj_strscan.c | 13 ++++++++-----
> test/tarantool-tests/lj-528-tonumber-0.test.lua | 13 +++++++++++++
> 2 files changed, 21 insertions(+), 5 deletions(-)
> create mode 100644 test/tarantool-tests/lj-528-tonumber-0.test.lua
>
> --
> 2.34.1
>
--
Best regards,
IM
prev parent reply other threads:[~2022-06-30 12:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-26 12:19 Sergey Kaplun via Tarantool-patches
2022-01-26 12:19 ` [Tarantool-patches] [PATCH luajit 1/2] Fix tonumber("-0") Sergey Kaplun via Tarantool-patches
2022-06-27 13:47 ` Igor Munkin via Tarantool-patches
2022-06-27 20:29 ` sergos via Tarantool-patches
2022-01-26 12:19 ` [Tarantool-patches] [PATCH luajit 2/2] Fix tonumber("-0") in dual-number mode Sergey Kaplun via Tarantool-patches
2022-01-27 9:50 ` Sergey Kaplun via Tarantool-patches
2022-06-27 13:48 ` Igor Munkin via Tarantool-patches
2022-06-27 15:51 ` sergos via Tarantool-patches
2022-06-30 12:09 ` Igor Munkin via Tarantool-patches [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Yr2SZDpSkeE47CHH@tarantool.org \
--to=tarantool-patches@dev.tarantool.org \
--cc=imun@tarantool.org \
--cc=skaplun@tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH luajit 0/2] Fix tonumber("-0") inconsistencies' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox