lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Re: Logical shift
From
: Egor Skriptunoff <egor.skriptunoff@
...
>
Date
: Mon, 14 Oct 2019 08:44:16 +0300
On Mon, Oct 14, 2019 at 5:51 AM D Burgess wrote:
> Perhaps the arithmetic shift can be offered as the >>> operator?
Excellent suggestion.
(x >>> k) == (x >> k) - ((x & math.mininteger) >> (k-1))
References
:
Logical shift
,
D Burgess
Re: Logical shift
,
Sean Conner
Re: Logical shift
,
Jonathan Goble
Re: Logical shift
,
D Burgess
Prev by Date:
Re: Logical shift
Next by Date:
Re: [ANN] Lua 5.4.0 (beta-rc2) now available
Previous by thread:
Re: Logical shift
Next by thread:
Fwd: Lua 5.4
Index(es):
Date
Thread