An Algorithm for Exact Division
β Scribed by Tudor Jebelean
- Publisher
- Elsevier Science
- Year
- 1993
- Tongue
- English
- Weight
- 302 KB
- Volume
- 15
- Category
- Article
- ISSN
- 0747-7171
No coin nor oath required. For personal study only.
β¦ Synopsis
Current computer aigebra systems use the quotient-remainder algorithm for division of long integers even when it is known in advance that the remainder is zero. We propose an algorithm which computes the quotient of two long integers in this particular situation, starting from the least-significant digits of the operands. This algorithm is particularly efficient when the radix is a prime number or a power of 2.
The computing time of this new algorithm is smaller than the computing time of the classical division algorithm. If the length of the result is much smaller than the lengths of the inputs, then the speed-up may be quite significant, as it is confirmed by practical experiments.
Most importantly, however, the new algorithm is better suited for systolic parallelization in a "least-significant digit first" pipelined manner, and therefore it is suitable for aggregation with other systolic algorithms for the arithmetic of long integers and long rationals.
We also present applications of this algorithm in integer GCD computation and in division modulo a power of 2.
π SIMILAR VOLUMES
The standard mathematical setting for fair division problems begins with a cake X which is a compact subset of some Euclidean space and n players P,, . . . ,el each with an additive nonatomic probability measure p,,. . . , p,, on a a-algebra of measureable subsets of X , and asks for a partition { X
## AbstractAn exact method for solving a class of concave transportation problems which reflect economies of scale is presented. By exploiting concepts of dynamic programming and an analysis of the nature of the recursion, an analytic representation of the optimal allocation at each stage has been