Back to Search
Start Over
Classic Round-Up Variant of Fast Unsigned Division by Constants: Algorithm and Full Proof
- Publication Year :
- 2024
-
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.<br />Comment: 9 pages
- Subjects :
- Computer Science - Data Structures and Algorithms
F.2.1
I.1.2
Subjects
Details
- Database :
- arXiv
- Publication Type :
- Report
- Accession number :
- edsarx.2412.03680
- Document Type :
- Working Paper