lua-users home
lua-l archive

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



PS: I'm talking about -1 % 5 --> 4 and stuff.

The choice of traditional division operation (referred to as "C's %") was made by engineers (CPU developers), not programmers, not mathematicians.
And many programming languages adopted this choice for the sake of performance.
Тo wonder, this division is not well suited for programming tasks.