[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Modulo operator produces incorrect results with negative operand(s).
- From: Kaj Eijlers <bizziboi@...>
- Date: Wed, 25 Jan 2017 00:02:13 -0800
>>The way Lua does it may not be 100% wrong, but it is not the way an experienced programmer will expect it to work.
I disagree, an experienced programmer knows it varies across languages, and can even vary across implementations of those languages and thus safeguards against it.