arXiv · 2412.03680
Classic Round-Up Variant of Fast Unsigned Division by Constants: Algorithm and Full Proof
Abstract
Integer division instruction is generally expensive in most architectures. If the divisor is constant, the division can be transformed into combinations of several inexpensive integer instructions. This article discusses the classic round-up variant of the fast unsigned division by constants algorithm, and provides full proof of its correctness and feasibility. Additionally, a simpler variant for bounded dividends is presented.
Explore related subjects
Keep this discovery
Yifei Li. 2024-12-04. Classic Round-Up Variant of Fast Unsigned Division by Constants: Algorithm and Full Proof. https://arxiv.org/abs/2412.03680
Cite the original work for its findings. Save a collection to share your selection of sources.