Admin message

WARNING! Gitlab maintenance operation scheduled for Monday, 20 April between 12:00 and 14:00 (CET). During this time window, short service interruptions (less than 5 minutes) may occur. Thank you in advance for your understanding.

Use of divide1616 and idivide1616 with constant denominator

The use of the division routine is useful, if the denominator is dynamic in a greater range. For all constant denominators, a constant can be defined to use it in a multiplication: result = divide1616(num, const den) => result = mult(num, INV_DEN) or similar.

By using a grep command, I see already more than 80 places (idiv1616 only) in the code, that could be changed, even **a denominator of "2" **is sometimes used, obviously something to simplify. See: idiv1616.txt attached

Edited Jun 16, 2025 by Arthur Tritthart
Assignee Loading
Time tracking Loading