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.