lua-users home
lua-l archive

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

Thank you for clarifying, guys!

Now I see that requirement of non-negative remainder is quite practical
and well-binded with mathematical rings of natural numbers.

Sadly (as I understand from similar discussions before) Lua
implementation is heavily linked with ANSI C and Roberto generally not
willing to introduce changes in logic that is different from ANSI C.

Although I consider "%" and math.mod() behavior change worth it.

-- Martin