lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> On Aug 26, 2018, at 7:05 AM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> 
> This seems to imply that it is perfectly OK to return any value from 0
> to 4566 for 0x1p1000%4567, instead of the correct value 4567 that Lua
> 5.3 returns. Correct-shmorrect, I say.
> 

+1 to Dirk

Garbage is garbage, even if it is not "arbitrary" garbage.
In fact, I prefer the "bad" garbage, as a heads-up, this is bad ...

Why fix a good % ?