[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Why is Lua's % better than C's?
- From: Pierpaolo Bernardi <olopierpa@...>
- Date: Thu, 13 Oct 2016 00:04:14 +0200
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/