lua-users home
lua-l archive

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


On Wed, Oct 12, 2016 at 9:38 PM, Soni L. <fakedme@gmail.com> wrote:
> Hi List,
>
> I remember once seeing a paper or something about why Lua's % is better than
> C's but I can't seem to find it again?

I don't know which paper you mean. This one contains a summary of the
pros and cons of various way to do divs and mods:

https://www.microsoft.com/en-us/research/publication/division-and-modulus-for-computer-scientists/