----- Original Message -----From: Egor SkriptunoffTo: Lua mailing listSent: Monday, March 31, 2014 8:30 PMSubject: Re: Modulo infinityOn Sun, Mar 30, 2014 at 3:39 PM, Thiago L. <fakedme@gmail.com> wrote:
Should we talk about 1^math.huge being 1?On 30/03/2014 09:19, Egor Skriptunoff wrote:
Mathematically, for any finite non-negative number N
N % math.huge == N
But this equation does not hold in Lua.I don't see a problem with
assert(1^math.huge == 1)It works fine.